Jump to content
  • 0

Problema Gamemode Burned


Exaton

Question

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

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

  • 0
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");

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 0

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!

 

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.