Thread: Capture Zone
View Single Post
Old 18/01/2012, 11:09 AM   #2
smoke_weed
Little Clucker
 
Join Date: Dec 2011
Posts: 9
Reputation: 0
Default Re: Capture Zone

Code:
new Checkpoint[MAX_PLAYERS];
 
public OnGameModeInIt()
{
Checkpoint = SetPlayerCheckpoint(playerid, Float:x,Float:y,Float:z,8);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if(Checkpoint[playerid] = 1)
{
SendClientMessage(playerid,color,"wait 20 seconds");
SetTimerEx("SetZone",20000,false,"i",playerid);
}
return 1;
}
forward SetZone(playerid);
public SetZone(playerid)
{
if...
return 1;
}
Enter your gangzones to it
smoke_weed is offline   Reply With Quote