ESCAPE Keyboard Button - 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: ESCAPE Keyboard Button (
/showthread.php?tid=103321)
ESCAPE Keyboard Button -
virspector - 19.10.2009
I am making an RPG Server, but sometimes, when the player got kicked, specially on the Class Selection, we can't press ESCAPE button on keyboard anymore. So, to exit the game, we should type /exit. Why?
Re: ESCAPE Keyboard Button -
Joe Staff - 19.10.2009
Just add
before you kick the player.
Just make sure you're using the same variable in SpawnPlayer() as you are in Kick().
Re: ESCAPE Keyboard Button -
TheNooB - 19.10.2009
Do as Joe said
pawn Код:
#include a_samp
public OnPlayerSpawn(playerid)
{
Kick(playerid);
return 1;
}