SA-MP Forums Archive
question about OnPlayerKeyStateChange - 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: question about OnPlayerKeyStateChange (/showthread.php?tid=65302)



question about OnPlayerKeyStateChange - ғαιιοцт - 11.02.2009

is it possible to detect keys when a player is in class selection?


Re: question about OnPlayerKeyStateChange - MenaceX^ - 11.02.2009

Yes.


Re: question about OnPlayerKeyStateChange - ғαιιοцт - 11.02.2009

but i wanted to do that and they only got detected after selecting a class


Re: question about OnPlayerKeyStateChange - Yoyoyo - 05.09.2009

This is exactly what my problem is.


Re: question about OnPlayerKeyStateChange - Correlli - 05.09.2009

You can't detect UP, DOWN, LEFT and RIGHT keys if player isn't spawned (and these keys can't be detected with OnPlayerKeyStateChange anyway).


Re: question about OnPlayerKeyStateChange - Yoyoyo - 05.09.2009

Well I dont know why my code isnt working then.