ban playerid
#6

That wouldn't work

Код:
public OnPlayerConnect(playerid)
{
	new pname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pname, sizeof pname);
	if (!strcmp(pname, "KimSinSeN", true))
    { 
      Ban(playerid);
	  format(string, sizeof(string), "%s Has Been Banned By Console", pName);
      return 1;
    }
    return 1;
}
that would, minus the loose indentation -.-
Reply


Messages In This Thread
ban playerid - by BP13 - 04.09.2009, 22:53
Re: ban playerid - by Correlli - 04.09.2009, 22:55
Re: ban playerid - by BP13 - 04.09.2009, 23:02
Re: ban playerid - by Zezombia - 04.09.2009, 23:18
Re: ban playerid - by BP13 - 04.09.2009, 23:37
Re: ban playerid - by DMSOrg - 04.09.2009, 23:43
Re: ban playerid - by JaTochNietDan - 04.09.2009, 23:49
Re: ban playerid - by BP13 - 04.09.2009, 23:59

Forum Jump:


Users browsing this thread: 1 Guest(s)