23.01.2014, 00:53
Hi Ph0eniX,
You can do
On the top of your script. Then add isInZone[playerid] = 0;[/code] to OnPlayerConnect and OnPlayerDisconnect. 0 means He is not in the zone.
Then when you want to do
And
Describing this whole thing would be REALLY long, so try mess around with that.
Hope I could help.
You can do
Код:
new isInZone[MAX_PLAYERS];
Then when you want to do
Код:
CMD: enterzone(playerid, params[]); { isInZone[playerid] = 1; return 1; }
Код:
CMD:leavezone(playerid, params[]); { isInZone[playerid] = 0; return 1; }
Hope I could help.