View Full Version : please help me with my gangzone scriptin

18/07/2012, 04:36 PM
i be workin on gangzone these days
have set a 6 checkpoints toward 6 different zones

how do i let this happen?
when ppl step into a checkpoint
make a countdown of 60 sec
after 60 sec, if the ppl s still there, he ll take the zone ?

the most difficult part for me is how do i make a countdown?
and when ppl step out of the zone stop the countdown

plz help , appreciate that~

18/07/2012, 04:46 PM
For the countdown part you can read this (http://forum.sa-mp.com/showthread.php?t=169023) tutorial about countdowns. You can use OnPlayerEnterCheckpoint (http://wiki.sa-mp.com/wiki/OnPlayerEnterCheckpoint) to detect when a player enters a checkpoint and OnPlayerLeaveCheckpoint (http://wiki.sa-mp.com/wiki/OnPlayerLeaveCheckpoint) to detect when a player leaves a checkpoint.

18/07/2012, 04:54 PM
thx a lot for ur help!aprreciate that!
but if 1 ppl is capturing a zone,another 1 enter the CP.
how to avoid let the later 1 to start a new capture while the former 1 is still countin down for 60sec?

18/07/2012, 05:20 PM
Maybe try OnPlayerLeaveCheckpoint = false and sendclientmessage ~r~ "You can't capture untill you kill the guy" or something like this, i'm just telling you the idea, hope you get it

19/07/2012, 03:14 AM
thx for ur help anyway!aprreciate that!