[Ajuda] Muito Simples
#1

RESOLVIDO!
Reply
#2

ajuda ae
Reply
#3

ajuda ae
Reply
#4

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
Reply
#5

Nao Intendi
Reply
#6

if(strfind(name,"[",true) = -1 && strfind(name,"]",true) = -1)
Reply
#7

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;
}
Reply
#8

Semf floodar cara, que isso .
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)