SA-MP Forums Archive
How to make a player press a key? - 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: How to make a player press a key? (/showthread.php?tid=134186)



How to make a player press a key? - Torran - 15.03.2010

Is it possible to make a player press a key?
For example "Shift", Like getplayerkey but make them press it,
Because using SpawnPlayer(playerid); AFTER setting spectating to 0 dosent work,
Any ideas?