18.01.2012, 15:58
(
Последний раз редактировалось armandodo; 18.01.2012 в 16:50.
)
RESOLVIDO!
new name[24];
GetPlayerName(playerid,name,sizeof(name));
if(strfind(name,"[",true) == -1 || strfind(name,"]",true) == -1)
return SendClientMessage(playerid,0x00CD00FF,"Nick Invбlido, Use [DF]Nick"),Kick(playerid);
if(strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "]", true) != -1)
{
return 1;
}
else
{
ShowPlayerDialog(playerid, 552, DIALOG_STYLE_MSGBOX, "Nick incorreto", "Nick Incorreto\nUse [DF]Nick", "Sair","");
Kick(playerid);
return 1;
}