07.02.2010, 00:30
I'm not sure whats wrong, the errors are
Heres the code:
5522 is
from the code given
Thanks guys.
Код:
error 029: invalid expression, assumed zero (5522) : error 029: invalid expression, assumed zero
Heres the code:
Код:
public OnPlayerLeaveDynamicCP(playerid, checkpointid) { if (gCheckpoint[0] == checkpointid) { SendClientMessage(playerid,0x00C7FFAA,"You've left the City Hall"); } else if (gCheckpoint[1] == checkpointid) && robbinghall[playerid] >=1 { robbinghall[playerid] =0; SendClientMessage(playerid,COLOR_ERROR,"LV City Hall robbery failed, you left the checkpoint"); } return 1; }
Код:
else if (gCheckpoint[1] == checkpointid) && robbinghall[playerid] >=1 {
Thanks guys.