30.12.2010, 16:07
pawn Код:
public OnPlayerConnect(playerid)
{
new pRpnames[MAX_PLAYER_NAME];
GetPlayerName(playerid, pRpnames, sizeof(pRpnames));
new RpNames = strfind(pRpnames, "_", true);
if(RpNames == -1)
{
SendClientMessage(playerid, 0xFF0000AA, "((Vocк foi kikado por nгo usar o formato de nome adequado: Nome_Sobrenome))");
Kick(playerid);
return 1;
}
return 1;
}