Keys not being detected when frozen - 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: Keys not being detected when frozen (
/showthread.php?tid=441322)
Keys not being detected when frozen -
Flyfishes - 02.06.2013
Hey!
I'm trying to detect when the player presses the spacebar (
KEY_SPRINT) while he's being toggled. I've experimented with different keys and can only detect keys when I'm not frozen.
How can I detect it if I'm frozen? Is there a way around this?
Re: Keys not being detected when frozen -
bensmart469 - 02.06.2013
https://sampwiki.blast.hk/wiki/GetPlayerKeys
Re: Keys not being detected when frozen -
Flyfishes - 02.06.2013
Quote:
Originally Posted by bensmart469
|
Does it work even when you're frozen?
Re: Keys not being detected when frozen -
MP2 - 02.06.2013
Quote:
Originally Posted by Flyfishes
Does it work even when you're frozen?
|
Try it?