Force a player to 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: Force a player to press a key? (
/showthread.php?tid=147446)
Force a player to press a key? -
Remba - 12.05.2010
Hi I have a question

Is there any script that force a player to press a key?
Re: Force a player to press a key? -
DJDhan - 12.05.2010
You could TogglePlayerControllable(playerid,0) function to freeze him and then tell him to press the key you want him to press.
After he presses the key, TogglePlayerControllable(playerid,1).
Re: Force a player to press a key? -
Remba - 12.05.2010
Good idea.
But that is not exactly what i want.
Sorry for my bad english.
Re: Force a player to press a key? -
DJDhan - 12.05.2010
Well how else can you force a player?

It's his wish all the time which key he wants to press.The only way is by freezeing him (warning or kicking won't work :P)
I don't see any other way.
Re: Force a player to press a key? -
Remba - 12.05.2010
Quote:
Originally Posted by DJDhan
Well how else can you force a player?  It's his wish all the time which key he wants to press.The only way is by freezeing him (warning or kicking won't work :P)
I don't see any other way.
|
Well me neither.
I was wondering if there is some kind of code.
Looks like there isn't. xD
Re: Force a player to press a key? -
maij - 12.05.2010
there isn't.