05.02.2011, 14:06
I made a new variable to set a enabled/disabled stat but Pawno gives me a undefined symbol error. Why?
new State;
public OnPlayerExitVehicle(playerid, vehicleid) { if (State[playerid] > 0) { PutPlayerInVehicle(playerid, vehicleid, 0); SendClientMessage(playerid, lightred, "You can't exit during Mission"); return 1; }
State[playerid]=1;
#if defined
#endif