kapu = CreateDynamicObject(980, 2237.30005, 2453.30005, 12.6, 0, 0, 272);kapu1 =CreateDynamicObject(980, 1527.30005, 664.20001, 12.4, 0, 0, 0);kapu2 =CreateDynamicObject(980, 1447.40002, 663.40002, 12.5, 0, 0, 0); CMD:rkapunyit(playerid){if(Csapat[playerid] == Rendor){MoveDynamicObject(kapu,2237.30005, 2453.30005, 12.6,2.0,0,0);}else return SendSpecialMessage(playerid,\"HIBA: Nem vagy rendõr!\");return 1;}CMD:ckapunyit1(playerid){if(Csapat[playerid] == Civil){MoveDynamicObject(kapu1,1527.30005, 664.20001, 12.4, 0, 0);}else return SendSpecialMessage(playerid,\"HIBA: Nem vagy civil!\");return 1;}CMD:ckapunyit2(playerid){if(Csapat[playerid] == Civil){MoveDynamicObject(kapu2,1447.40002, 663.40002, 12.5, 0, 0);}else return SendSpecialMessage(playerid,\"HIBA: Nem vagy civil!\");return 1;}
kapu = CreateDynamicObject(980, 2237.30005, 2453.30005, 12.6, 0, 0, 272); kapu1 = CreateDynamicObject(980, 1527.30005, 664.20001, 12.4, 0, 0, 0); kapu2 = CreateDynamicObject(980, 1447.40002, 663.40002, 12.5, 0, 0, 0); CMD:rkapunyit(playerid, params[]){ if(Csapat[playerid] == Rendor) { MoveDynamicObject(kapu,2237.30005, 2453.30005, 12.6,2.0,0,0); } else { SendSpecialMessage(playerid,\"HIBA: Nem vagy rendõr!\"); } return 1;}CMD:ckapunyit1(playerid, params[]){ if(Csapat[playerid] == Civil) { MoveDynamicObject(kapu1,1527.30005, 664.20001, 12.4, 0, 0); }else return SendSpecialMessage(playerid,\"HIBA: Nem vagy civil!\"); return 1;}CMD:ckapunyit2(playerid, params[]){ if(Csapat[playerid] == Civil) { MoveDynamicObject(kapu2,1447.40002, 663.40002, 12.5, 0, 0); }else return SendSpecialMessage(playerid,\"HIBA: Nem vagy civil!\"); return 1;}
kapu1 = CreateDynamicObject(980, 1527.30005, 664.20001, 12.4, 0, 0, 0); MoveDynamicObject(kapu1, 1527.30005, 664.20001, 12.4, 0, 0); kapu2 = CreateDynamicObject(980, 1447.40002, 663.40002, 12.5, 0, 0, 0); MoveDynamicObject(kapu2, 1447.40002, 663.40002, 12.5, 0, 0);
kapu = CreateDynamicObject(980, 2237.30005, 2453.30005, 12.6, 0, 0, 272);
CMD:rkapunyit(playerid){ if(Csapat[playerid] == Rendor){ MoveDynamicObject(kapu,2237.30005, 2453.30005, 12.6,2.0,0,0); }else return SendSpecialMessage(playerid,\"HIBA: Nem vagy rendõr!\"); return 1;}
CMD:rkapunyit(playerid){ if(Csapat[playerid] == Rendor){ MoveDynamicObject(kapu,Ide azt a kordínátát rakd amikor nyitva van a kapu!); }else return SendSpecialMessage(playerid,\"HIBA: Nem vagy rendõr!\"); return 1;}