SA-MP Forums Archive
Checking if the vehicles moving within the timer? - 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: Checking if the vehicles moving within the timer? (/showthread.php?tid=388125)



Checking if the vehicles moving within the timer? - RLGaming - 27.10.2012

Basically, im trying to do a sweeper job but i don't want to do checkpoints, instead, when they do /sweep it sets a timer off(I've already scripted this), and then they can go sweeping, but how can i make it give them money depending on how far they have moved since like each 5 seconds? I know I could set off 5 second timers, but how can I check how far they've moved and then give them money depending on it