CMD:pdo(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); else if(PlayerInfo[playerid][VIP] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); { MoveObject(pdkapija, 1544.6999512,-1631.0000000,13.3000002, 5.0); pktimer[playerid] = SetTimer("zatvori18", 5000, 0); SendClientMessage(playerid, COLOR_WHITE, "("#COL_ORANGE"Paznja!) Otvorio si (IME KAPIJE) kapiju, "#COL_ORANGE"automatski ce se zatvorit!"); } else { SendClientMessage(playerid, COLOR_WHITE, "| VAЉ TEKST | Nemate kljuc za ta vrata."); } return 1; }
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(2017) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
CMD:pdo(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); else if(PlayerInfo[playerid][VIP] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); { MoveObject(pdkapija, 1544.6999512,-1631.0000000,13.3000002, 5.0); pktimer[playerid] = SetTimer("zatvori18", 5000, 0); SendClientMessage(playerid, COLOR_WHITE, "("#COL_ORANGE"Paznja!) Otvorio si (IME KAPIJE) kapiju, "#COL_ORANGE"automatski ce se zatvorit!"); } else { SendClientMessage(playerid, COLOR_WHITE, "| VAЉ TEKST | Nemate kljuc za ta vrata."); } return 1; } Код:
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(2017) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
else