SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/02/2011, 06:44 PM   #1
[WTF]Godfather
Big Clucker
 
[WTF]Godfather's Avatar
 
Join Date: Dec 2010
Location: Morocco
Posts: 62
Reputation: 0
Default Capture Zone

How to make a Capture Zone Gangzone
With checkpoint
[WTF]Godfather is offline   Reply With Quote
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
Old 18/01/2012, 11:16 AM   #3
sayhello
Little Clucker
 
Join Date: Dec 2011
Posts: 40
Reputation: 0
Default Re: Capture Zone

How to capture while you're in vehicle?
sayhello is offline   Reply With Quote
Old 18/01/2012, 11:29 AM   #4
smoke_weed
Little Clucker
 
Join Date: Dec 2011
Posts: 9
Reputation: 0
Default Re: Capture Zone

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!");
}
?
smoke_weed is offline   Reply With Quote
Old 17/05/2012, 05:10 AM   #5
the_zohan
Big Clucker
 
Join Date: Apr 2012
Posts: 123
Reputation: 1
Default Re: Capture Zone

and how to enter capture zone to it?
the_zohan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] LGZ 1.3.2 [REL: 11 Jan 2008] | Let's capture the zone! [LDT]LuxurY Includes 106 08/03/2013 04:42 AM
Capture a gang zone. oded050 Help Archive 3 07/08/2010 12:17 PM
HELP! Capture the point! Flake. Help Archive 7 07/02/2010 02:20 AM
Capture the Plane f3llah1n Filterscripts 13 02/02/2010 09:50 PM
Capture The Car? DeltaAirlines12 Help Archive 3 10/09/2009 11:50 PM


All times are GMT. The time now is 03:26 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.