Login and Register problem
#1

PHP код:
    if(fexist(UserPath(playerid)));
    {
        
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra true, .extra playerid);
        
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_ROZZ"Enter please your password to login to your account.","Login","Close");
    }
    else
    {
      
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_INPUT,""COL_WHITE"Register",""COL_ROZZ"Enter please your password to register a game account.","Register","Close");
    }
    return 
1;

PHP код:
C:\Users\John\samp03x_svr_R1-2_win32\pawno\include\sscanf2.inc(227) : error 017undefined symbol "SSCANF_OnPlayerDisconnect"
C:\Users\John\samp03x_svr_R1-2_win32\gamemodes\MyFrist.pwn(181) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\John\samp03x_svr_R1-2_win32\gamemodes\MyFrist.pwn(181) : warning 215expression has no effect
C
:\Users\John\samp03x_svr_R1-2_win32\gamemodes\MyFrist.pwn(181) : error 001expected token";"but found ")"
C:\Users\John\samp03x_svr_R1-2_win32\gamemodes\MyFrist.pwn(181) : error 029invalid expressionassumed zero
C
:\Users\John\samp03x_svr_R1-2_win32\gamemodes\MyFrist.pwn(181) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
5 Errors

Reply
#2

help please
Reply
#3

You had an extra semicolon, try this:
pawn Код:
if(fexist(UserPath(playerid)))
Reply
#4

Quote:
Originally Posted by Dragonsaurus
Посмотреть сообщение
You had an extra semicolon, try this:
pawn Код:
if(fexist(UserPath(playerid)))
didnt work bro
Reply
#5

Which line is 181?
Reply
#6

this if(fexist(UserPath(playerid)))
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)