SA-MP Forums Archive
onkeypress!?!?! - 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: onkeypress!?!?! (/showthread.php?tid=246204)



onkeypress!?!?! - omer5198 - 03.04.2011

how can i do that when i press a key something will happen? (if you write an exemple please use the "up" key)


Re: onkeypress!?!?! - mprofitt - 03.04.2011

OnPlayerKeyStateChange


Re: onkeypress!?!?! - aircombat - 03.04.2011

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange


Re: onkeypress!?!?! - omer5198 - 03.04.2011

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
OnPlayerKeyStateChange
Quote:
Originally Posted by aircombat
Посмотреть сообщение
thx!!! i will try it! do you know how the key "up" is called in pawn?


Re: onkeypress!?!?! - aircombat - 03.04.2011

https://sampwiki.blast.hk/wiki/GetPlayerKeys