SA-MP Forums Archive
Key Names - 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: Key Names (/showthread.php?tid=113488)



Key Names - RaFsTar - 14.12.2009

I need the Key names of W, A , S and D please


Re: Key Names - Cr0ssFir3 - 14.12.2009

Search for it.


Re: Key Names - Zamaroht - 14.12.2009

Wiki is your best friend.

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


Re: Key Names - RaFsTar - 14.12.2009

Quote:
Originally Posted by Zamaroht
I dont understand that



Re: Key Names - Zamaroht - 14.12.2009

If you aren't capable to understand that, I don't know what do you want to use the W, A, S, D keys for.


Re: Key Names - RaFsTar - 14.12.2009

I need to use them OnPlayerKeyStateChange(playerid, newkeys, oldkeys) .. I need W, S, D and A


Re: Key Names - yom - 14.12.2009

You can't detect W, A, S, D keys, you can only detect keys that are in that list.


Re: Key Names - RaFsTar - 14.12.2009

I got it using Getplayerkeys + onplayerupdate