please help me with my gangzone scriptin
#1

hi
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~
Reply
#2

For the countdown part you can read this tutorial about countdowns. You can use OnPlayerEnterCheckpoint to detect when a player enters a checkpoint and OnPlayerLeaveCheckpoint to detect when a player leaves a checkpoint.
Reply
#3

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?
thx1111111!!!
Reply
#4

Maybe try On‌PlayerLeaveCheckpoint = 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
Reply
#5

thx for ur help anyway!aprreciate that!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)