SA-MP Forums Archive
spawn kick - 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)
+--- Thread: spawn kick (/showthread.php?tid=329161)



spawn kick - aurimasko - 27.03.2012

If I using SpawnPlayer on OnPlayerConnect callback, players get kick when they spawn (Server closed the connection.). how fix it?


Re: spawn kick - sniperwars - 27.03.2012

I know this is a stupid question to ask but do you have Kick(playerid); in your public OnPlayerConnect callback ?
If not, please show the public OnPlayerConnect callback and use the [pawn] [/ pawn] tags (remove the space
from the second tag.)


Re: spawn kick - aurimasko - 27.03.2012

i fix it. I put function SetSpawnInfo before SpawnPlayer.


Re: spawn kick - sniperwars - 27.03.2012

Ahh okay.