24.01.2011, 12:15
Yeah, I was Wondering if i can Look for names and Kick The Players Names.
Here:
Then On Player Connection....
Am i Missing Something?
Bracket?
Here:
pawn Код:
new ForbiddenNames[][5] =
{
"1", "2", "3", "4", "5"
};
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);
}
Bracket?