23.11.2009, 17:29
{
new name[MAX_PLAYERS][MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
if(strcmp(name[playerid), "Test", 10, true) == 0)
{
Ban(playerid);
return 1;
}
return 1;
}
I think it should be like this.
new name[MAX_PLAYERS][MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
if(strcmp(name[playerid), "Test", 10, true) == 0)
{
Ban(playerid);
return 1;
}
return 1;
}
I think it should be like this.