Unaccpetable names
#1

Yeah, I was Wondering if i can Look for names and Kick The Players Names.

Here:

pawn Код:
new ForbiddenNames[][5] =
{
 "1", "2", "3", "4", "5"
};
Then On Player Connection....
pawn Код:
for(new i = 0; i < sizeof(ForbiddenNames); i ++ )
{
if(!strcmp(name, i, true))
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Unacceptable Name");
SendClientMessage(playerid, 0xFF0000FF, "SERVER: You have Been Banned.");
Ban(playerid);

}
Am i Missing Something?
Bracket?
Reply


Messages In This Thread
Unaccpetable names - by Fool - 24.01.2011, 12:15
Re: Unaccpetable names - by blackwave - 24.01.2011, 14:50
AW: Unaccpetable names - by Nero_3D - 24.01.2011, 15:07
Nero_3D - by Fool - 24.01.2011, 15:35
Re: Unaccpetable names - by Fool - 24.01.2011, 16:36
Re: Unaccpetable names - by Mean - 24.01.2011, 16:41
Re: Unaccpetable names - by Fool - 24.01.2011, 16:51

Forum Jump:


Users browsing this thread: 3 Guest(s)