SA-MP Forums Archive
[BUG] Key detect - 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)
+--- Thread: [BUG] Key detect (/showthread.php?tid=325331)



[BUG] Key detect - Amit_B - 12.03.2012

I'm not sure if it is a bug or not, but anyway, there's a bug when it isn't possible to detect player keys when he's in a dialog. Also, because the dialog system works as some other things in SA-MP (player list, chat, class selection), the keys won't get updated on OnPlayerKeyStateChange.

If it is not a bug - lock/delete this topic.


Re: [BUG] Key detect - ikkentim - 12.03.2012

Since the player is in a dialog, the character cant move; and so no functional key can be pressed => no data send to the server, so cant be detected. Keys pressed on a gamepad/joystick can be detected suring a dialog; though.

I think that last bit I said might be a bug!