Capture Zone
#1

How to make a Capture Zone Gangzone
With checkpoint
Reply
#2

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
Reply
#3

How to capture while you're in vehicle?
Reply
#4

Quote:
Originally Posted by sayhello
View Post
How to capture while you're in vehicle?
Code:
 if IsPlayerInVehicle(playerid,1)
else {
SendClientMessage(playerid,color,"You are not in a vehicle to capture this zone!");
}
?
Reply
#5

and how to enter capture zone to it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)