19.02.2012, 00:04
Tenta ai garoto
pawn Код:
stock Nome(playerid)
{
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
return Nome;
}
pawn Код:
public OnPlayerConnect(playerid)
{
if(strfind(Nome, "[", true) || strfind(Nome, "]", true) || strfind(Nome, "_", true))
{
SendClientMessage(playerid, -1, "Seu nick nгo pode contar colchetes ( [ ] ) ou underline ( _ )");
Kick(playerid);
return 1;
}
return 1;
}