27.03.2010, 12:33
Код:
dcmd_otvori(const playerid,const params[]) { #pragma unused params new ID = strval(params); if(gTeam[playerid] == PACOS && GetPlayerInterior(ID) == 10 && Encarcelado[ID] == 0 && gTeam[ID] != PACOS) { { MoveObject(ograda1,2293.983398, 2499.074951, 8.585331, 0.0000); SendClientMessage(playerid, 0xC8C8C8FF, "Otvaranje ograde!"); } else { SendClientMessage(playerid, 0xFF0000FF, "Moras biti policajac!"); } } return 1; } dcmd_zatvori(const playerid,const params[]) { #pragma unused params new ID = strval(params); if(gTeam[playerid] == PACOS && GetPlayerInterior(ID) == 10 && Encarcelado[ID] == 0 && gTeam[ID] != PACOS) { { MoveObject(ograda1, 2294.147705, 2498.926514, 3.992929, 0.0000); SendClientMessage(playerid, 0xC8C8C8FF, "Zatvaranje ograde"); } else { SendClientMessage(playerid, 0xFF0000FF, "Moras biti policajac!"); } } return 1; }
C:\Users\NASTIE\Desktop\Skyline CPS\Skyline\gamemodes\CANG.pwn(625) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
LINE 608: else
LINE 625: else