can u identify something like "On player left click" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: can u identify something like "On player left click" (
/showthread.php?tid=121351)
can u identify something like "On player left click" -
aNdReSkKkK - 16.01.2010
can u do that, so that I can know when a player does right click in the car (or nitro key) and when they do the nitro is added so on second click nitro is activated :P
Re: can u identify something like "On player left click" -
Karlip - 16.01.2010
Yes, called key detection.
Check the wiki for more information.
Re: can u identify something like "On player left click" -
aNdReSkKkK - 16.01.2010
thanks
Re: can u identify something like "On player left click" -
SuperS82 - 17.01.2010
OnPlayerKeyStateChange is what you want to look for.
Re: can u identify something like "On player left click" -
aNdReSkKkK - 17.01.2010
Yes sir
already scripted it and it roooooockssssssss