Jump to content
  • 0

Question

Posted

Salut la toti am si eu o problema cu gm-ul burned fac conectarea la baza de date tot bn pun si in pwn dar cand dau samp-server arata house 0 si celelalte tot 0 la vehicles 18 si loginul nu mrg imi zice cineva dece nu mrg si la alte baza-e de date tot asa face

12 answers to this question

Recommended Posts

  • 0
Posted
Acum 1 oră, Exaton a spus:

Salut la toti am si eu o problema cu gm-ul burned fac conectarea la baza de date tot bn pun si in pwn dar cand dau samp-server arata house 0 si celelalte tot 0 la vehicles 18 si loginul nu mrg imi zice cineva dece nu mrg si la alte baza-e de date tot asa face

arata linia cu mysql_connect din gm si variabilele aferente in cazul in care folosesti

  • 0
Posted
La 21.02.2018 la 22:57, valivaly96 a spus:

arata linia cu mysql_connect din gm si variabilele aferente in cazul in care folosesti

#define NORMAL 1
#define LOCALHOST 2
new SERVER_HOSTSTATUS = NORMAL;
public OnGameModeExit() {
    if(SERVER_HOSTSTATUS == 1) {
        mysql_query(SQL, "UPDATE `users` SET `Status` = '0' WHERE `Status` = '1'");
        mysql_close(SQL);
    }
    DestroyActor(SpawnActor);
    return 1;
}

public OnGameModeInit()
{
    mysql_log(LOG_ERROR, LOG_TYPE_TEXT);

    if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("127.0.0.1", "root", "burned", ""), print("Server: hosted");
    else SQL = mysql_connect("127.0.0.1", "root", "burned", ""), print("Server: localhost");

  • 0
Posted
Acum 55 minute, Exaton a spus:

#define NORMAL 1
#define LOCALHOST 2
new SERVER_HOSTSTATUS = NORMAL;
public OnGameModeExit() {
    if(SERVER_HOSTSTATUS == 1) {
        mysql_query(SQL, "UPDATE `users` SET `Status` = '0' WHERE `Status` = '1'");
        mysql_close(SQL);
    }
    DestroyActor(SpawnActor);
    return 1;
}

public OnGameModeInit()
{
    mysql_log(LOG_ERROR, LOG_TYPE_TEXT);

    if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("127.0.0.1", "root", "burned", ""), print("Server: hosted");
    else SQL = mysql_connect("127.0.0.1", "root", "burned", ""), print("Server: localhost");

este pe host sau pe local?

  • 0
Posted
Acum 16 ore, valivaly96 a spus:

este pe host sau pe local?

Acum 16 ore, valivaly96 a spus:

este pe host sau pe local?

local

 

  • 0
Posted
1 oră în urmă, valivaly96 a spus:

Inlocuiesti new SERVER_HOSTSTATUS = NORMAL;

cu new SERVER_HOSTSTATUS = LOCALHOST;

tot asa

  • 0
Posted
Acum 11 ore, Exaton a spus:

tot asa

mysql_log(LOG_ERROR, LOG_TYPE_TEXT);

    if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("127.0.0.1", "root", "", "burned"), print("Server: hosted");
    else SQL = mysql_connect("127.0.0.1", "root", "", "burned"), print("Server: localhost");

  • 0
Posted
Acum 11 ore, valivaly96 a spus:

mysql_log(LOG_ERROR, LOG_TYPE_TEXT);

    if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("127.0.0.1", "root", "", "burned"), print("Server: hosted");
    else SQL = mysql_connect("127.0.0.1", "root", "", "burned"), print("Server: localhost");

acum nici samp-server nu mrg nu se deschide, se deschide dar se inchide singur

  • 0
Posted

Sterge ce tine de host de la Mysql_connet. Sper ca te.am ajutat

Citat

Cauti un scripter de calitate?
PM sau :
Discord : LucaAdv#9084

Doresc un om cu seriozitate si macar 5 - 10 e psf sa ieie promovare la Server!

Multumesc!

 

  • -1
Posted
Acum 1 oră, PauLL a spus:

esti sigur ca numele bazei de date in care ai dat import se numeste "burned" ?

da deja am rezolvat singur

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.