[Ajuda] Oque tem de errado
#1

PHP Code:
if(!DOF2_FileExists(ReturnFileUser(playerid)))
    return
    
format(StrRegistroLoginsizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada"plname);
    
ShowPlayerDialog(playeridDIALOG_REGISTRODIALOG_STYLE_PASSWORD"Logar"StrLogin"Logar""Esperar");
    else if(
DOF2_FileExists(ReturnFileUser(playerid)))
    return
    
format(StrRegistroLoginsizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada"plname);
    
ShowPlayerDialog(playeridDIALOG_REGISTRODIALOG_STYLE_PASSWORD"Logar"StrLogin"Logar""Esperar");(playerid); 
deu isso
PHP Code:
error 001expected token";"but found "if" 
Reply
#2

Numca usa return com duas linhas seguidas !

pawn Code:
if(!DOF2_FileExists(ReturnFileUser(playerid)))
{
    format(StrRegistroLogin, sizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada", plname);
    ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "Logar", StrLogin, "Logar", "Esperar");
{
else
{
    format(StrRegistroLogin, sizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada", plname);
    ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "Logar", StrLogin, "Logar", "Esperar");(playerid);
}
Reply
#3

Quote:
Originally Posted by Humildade
View Post
PHP Code:
if(!DOF2_FileExists(ReturnFileUser(playerid)))
    return
    
format(StrRegistroLoginsizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada"plname);
    
ShowPlayerDialog(playeridDIALOG_REGISTRODIALOG_STYLE_PASSWORD"Logar"StrLogin"Logar""Esperar");
    else if(
DOF2_FileExists(ReturnFileUser(playerid)))
    return
    
format(StrRegistroLoginsizeof(StrRegistroLogin), "{CAE1FF}Nick: {AB82FF}%s\n\n{CAE1FF}Status: {00FF00}Registrada"plname);
    
ShowPlayerDialog(playeridDIALOG_REGISTRODIALOG_STYLE_PASSWORD"Logar"StrLogin"Logar""Esperar");(playerid); 
deu isso
PHP Code:
error 001expected token";"but found "if" 
Dorgas mano... Que script й esse? o.o
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)