04.02.2012, 15:13
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, ID do dialog, DIALOG_STYLE_INPUT,"lalala","Digite algo aceitavel", "Confirmar","Fechar");
Mas e se fosse mais linhas do return? Exemplo:
(!strlen(inputtext))
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Digite seu nome apenas com letras.");
format(regstring,sizeof(regstring),"Bem vindo ao Server! \n \nDigite seu primeiro nome:");
ShowPlayerDialog(playerid,29,DIALOG_STYLE_INPUT,"R egistro",regstring,"Confirmar","Sair");
return 1;
}
Assim nгo funciona, sei disso... mas como faria para dar? :/
Obs.: o do espaзo deu certo!
Quem ajudou ganhou rep+ *-* obrigado xD
Mas e se fosse mais linhas do return? Exemplo:
(!strlen(inputtext))
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Digite seu nome apenas com letras.");
format(regstring,sizeof(regstring),"Bem vindo ao Server! \n \nDigite seu primeiro nome:");
ShowPlayerDialog(playerid,29,DIALOG_STYLE_INPUT,"R egistro",regstring,"Confirmar","Sair");
return 1;
}
Assim nгo funciona, sei disso... mas como faria para dar? :/
Obs.: o do espaзo deu certo!

Quem ajudou ganhou rep+ *-* obrigado xD