bug keystatechange? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: bug keystatechange? (
/showthread.php?tid=583098)
bug keystatechange? -
zeth98 - 25.07.2015
When i put this in OnPlayerKeyStateChange its not work
If(newkeys == key_up)
{
SendClientMesaage (playerid, -1,"you walk");
}
Any key who I pressed the message is not apear.
Re: bug keystatechange? -
SickAttack - 25.07.2015
It's not a bug.
https://sampwiki.blast.hk/wiki/GetPlayerKeys.
Quote:
Directional keys do not trigger OnPlayerKeyStateChange (up/down/left/right). They can only be detected with GetPlayerKeys (in OnPlayerUpdate or a timer).
|