Jump to content
  • 0

Problema Login si register


Question

Posted

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 ?

2 answers to this question

Recommended Posts

  • 0
Posted

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;

  • 0
Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.