SA-MP Forums Archive
Server closed connection - 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: Server closed connection (/showthread.php?tid=575529)



Server closed connection - sscarface - 27.05.2015

I want if someone joins my server and click on "SPAWN" dialog so it sends msg to player "please register your account"

But now in my server if i try to click on "SPAWN" without register i get kicked from SEREVR "SERVER CLOSED CONNECTION" but i want it sends a msg to player.

Anyone help me ? Thanks


Re: Server closed connection - DeitY - 27.05.2015

public OnPlayerRequestSpawn(playerid)

//your message here
// kick player


Re: Server closed connection - sscarface - 27.05.2015

Quote:
Originally Posted by DeitY
View Post
public OnPlayerRequestSpawn(playerid)

//your message here
// kick player
Already fixed it but thanks for replying. But please explain more if you really want to help someone. I didn't even understand what you mean. It will be more hard for new peoples.