SA-MP Forums Archive
OnPlayerconnect - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: OnPlayerconnect (/showthread.php?tid=239787)



OnPlayerconnect - GoldenM4 - 14.03.2011

So i was going threw a roleplay script and editing i found this thing i don't know what to do if i should take it out or not because i don't know what it does here is the command

Код:
 new plname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, plname, sizeof(plname));
	if(Security != 0)
	{
	    SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
	    Kick(playerid);
	    return 1;



Re: OnPlayerconnect - Pz - 14.03.2011

You've probably checked a edited godfather script, the scripter of it removed the rules command or something near that and he forgot to remove this one.

Other wise, I don't know why is this for.