SA-MP Forums Archive
Is Player Not Moving - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is Player Not Moving (/showthread.php?tid=158128)



Is Player Not Moving - aNdReSk - 08.07.2010

Hey, is there a way to check if a player hasnt moved (samp native?)

I have a farm, and when players drive a Combine truck, they should produce something, if they are static they shouldnt.

Searching but oldest posts/threads were deleted!! Even mine


Re: Is Player Not Moving - Hiddos - 08.07.2010

You could use OnPlayerUpdate of course, or save their positions into variables and use a self-set timer to check if his co-ords changed majorly.


Re: Is Player Not Moving - aNdReSk - 08.07.2010

Sounds like a great idea, gonna try