#1

PHP код:
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : warning 215expression has no effect
C
:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : error 001expected token";"but found "-string-"
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : warning 215expression has no effect
C
:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(131) : fatal error 107too many error messages on one line 
PHP код:
public OnPlayerConnect(playerid)
{
    if(
fexist(UserPath(playerid)))
    {
        
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra true, .extra playerid);
        
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_PASSWORD,""COLOR_GREY"Login"""COLOR_GREY"Type your password below.")
     }
     else
     {
        
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_INPUT,""COLOR_GREY"Registering..."""COLOR_GREY"Type your password below.")
     }
     return 
1;

PHP код:
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
#define PATH "Users\%s.ini" 
I don't understand ShowPlayerDialog that's why i had problem with it.
Reply
#2

Fixed.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)