Jump to content
  • 0

Problema Login si register


Rikie

Question

Salutare tuturor ! Am o mica problema la login si register, si nu pot sa imi dau seama de loc. 

Erorile sunt acestea: 

C:\Users\aurel\Desktop\0.3.7\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : warning 215: expression has no effect
C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 001: expected token: ";", but found ")"
C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 029: invalid expression, assumed zero
C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

 

Iar riga 137 este aceasta:  

if(fexist(UserPath(playerid)))

 

 

Va las mai jos toata partea unde este adaugata acea linie.

 

public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid)
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Scrie parola pentru a te loga.","Intra","Iesi");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Inregistrare",""COL_WHITE"Scrie o parola pentru a crea un cont.","Inregistrare","Iesi");
    }
    return 1;
}

 

Ma puteti ajuta va rog ?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Nu ai pus ";" sau "," la finalul apelului INI_ParseFile(......)

Citat

INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid),

PS: Poti folosi ",", deoarece ai inchis executia instructiunilor cu ";" pe randul de mai jos;

Link to comment
Share on other sites

  • 0
La 26.04.2019 la 21:00, Stalker1 a spus:

Nu ai pus ";" sau "," la finalul apelului INI_ParseFile(......)

PS: Poti folosi ",", deoarece ai inchis executia instructiunilor cu ";" pe randul de mai jos;

Salut, din pacate nimic, am rescris in acest mod dar tot aceleasi erori

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.