[Ajuda] Muito Simples -
armandodo - 18.01.2012
RESOLVIDO!
Re: [Ajuda] Muito Simples -
armandodo - 18.01.2012
ajuda ae
Re: [Ajuda] Muito Simples -
armandodo - 18.01.2012
ajuda ae
Re: [Ajuda] Muito Simples -
Jason` - 18.01.2012
pawn Код:
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);
Tenta isso
Re: [Ajuda] Muito Simples -
Don_Speed - 18.01.2012
Nao Intendi
Re: [Ajuda] Muito Simples -
Ricop522 - 18.01.2012
if(strfind(name,"[",true) = -1 && strfind(name,"]",true) = -1)
Re: [Ajuda] Muito Simples -
Macintosh - 18.01.2012
pawn Код:
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;
}
Re: [Ajuda] Muito Simples -
Enderman - 18.01.2012
Semf floodar cara, que isso .
Re: [Ajuda] Muito Simples -
armandodo - 18.01.2012
if(strfind(szPlayerName, "[", true) != -1 || strfind(szPlayerName, "]", true) != -1)
{
}
else
{
ShowPlayerDialog(playerid, 552, DIALOG_STYLE_MSGBOX, "Nick incorreto", "Seu nick estб incorreto", "__","");
Kick(playerid);
return 1;
}
consegui com a ajuda do Macintosh vlw