15.12.2013, 22:12
Hey guys,
I was just working on my new mission system, but for some reason, Pawno doesnt appreciate this command:
The error that comes up is:
I was just working on my new mission system, but for some reason, Pawno doesnt appreciate this command:
Код:
CMD:work(playerid, params[]) { if( !IsPlayerInDynamicCP( playerid, job_cp ) ) return SendClientMessage(playerid, -1, "You are not in the checkpoint!"); else { if( !isPlayerInMission[ playerid ] ) { isPlayerInMission[ playerid ] = true; // he is now doing one Player_SetUpForMission( playerid ); // stock coming in later, ignore } else return SendClientMessage(playerid, -1, "You are already doing a mission."); } return 1; }
Код:
(578) : error 029: invalid expression, assumed zero