SA-MP Forums Archive
Checkpoint Timer [+REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Checkpoint Timer [+REP] (/showthread.php?tid=529242)



Checkpoint Timer [+REP] - [SU]Spartan - 01.08.2014

Hello,
I have these teams:

Код:
#define TEAM_AIRFORCE           0
#define TEAM_TERRORIST	        1
So look,I want 2 checkpoints at: 1 s t (1543.7294,1468.9460,11.1000) and 2 n d (-1290.1357,-273.3459,14.1484)
When a player enters any check point he will have to wait 15 seconds until he gets 10k .Also I want when a player from TEAM_AIRFORCE reaches check point 1(1543.7294,1468.9460,11.1000) he wont be able to win 10k and when a player from TEAM_TERRORIST reach checkpoint 2(-1290.1357,-273.3459,14.1484) he wont be able to win 10k.Also if possible make a countdown.


and i will give u 2 reps.1 from this accoutn and i will telll my brother to rep u too.


Re: Checkpoint Timer [+REP] - McBan - 01.08.2014

Just use:

Код:
IsPlayerInRangeOfPoint
And

Код:
SetTimerEx