24.11.2012, 09:01
I made something similar for my server then i found a bug.
Try to capture a zone then disconnect from the server, then connect again..and the zone doesn't show for the player
But when you try to enter the capture Check Point it says already take by your team.
So you should add something like this to the tuto
And that will be a lot of coding if you have many zones
Try to capture a zone then disconnect from the server, then connect again..and the zone doesn't show for the player
But when you try to enter the capture Check Point it says already take by your team.
So you should add something like this to the tuto
HTML Code:
public OnPlayerSpawn(playerid) { if(tCheck[Zone] == TEAM_RUSSIA)return GangZoneShowForPlayer(Zone, COLOR_RUSSIA); if(tCheck[Zone] == TEAM_USA)return GangZoneShowForPlayer(Zone, COLOR_USA); return 1; }