OnPlayerconnect
#1

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;
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)