SA-MP Forums Archive
[Help] - Where is Player Aming - 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: [Help] - Where is Player Aming (/showthread.php?tid=228988)



[Help] - Where is Player Aming - xRyder - 20.02.2011

I'm trying to make some police system for my server and I stopped at getting some other players speed.

So, is it possible to get some other player's speed by aiming at his vehicle?
Is yes, how??


Re: [Help] - Where is Player Aming - sansko - 20.02.2011

there are some filterscripts for this already,
try to search for it
and if you gonna make one yourself
remember distance=speed/time


Re: [Help] - Where is Player Aming - xRyder - 20.02.2011

Hmm, okay. Since I can't find anything, I'll try to make it. But I have one more question.
How to detect if is player aiming? Is that like some sort of an animation or something like that(?), or that's not possible?


Re: [Help] - Where is Player Aming - sansko - 20.02.2011

its possible using "getPlayerKeys"
and using key aim
look in the wiki for more info