Jump to content

[REZOLVAT] Problema - licente


Ionut09
 Share

Recommended Posts

Ai verificat si in baza de date daca se salveaza? Poate se salveaza dar nu se stocheaza bine in variabila cand jucatorul se conecteaza pe server.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

1 hour ago, iMatt said:

Ai verificat si in baza de date daca se salveaza? Poate se salveaza dar nu se stocheaza bine in variabila cand jucatorul se conecteaza pe server.

Nu ma pricep php, daca poti sa explici pentru prosti, pe alt gm mi se salveaza cu comanda asta.

Link to comment
Share on other sites

Just now, Ionut09 said:

Nu ma pricep php, daca poti sa explici pentru prosti, pe alt gm mi se salveaza cu comanda asta.

Nu este nimic php, verifici in baza de date daca licentele s-au salvat, si verifici cand jucatorul s-a conectat pe server (in gamemode) daca variabilele "pCarLic", "pGunLic", etc, extrag din baza de date valorile pentru licente. ex:

PlayerInfo[playerid][pCarLic] = cache_get_field_content_int(0, "CarLic");

 

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

14 hours ago, iMatt said:

Nu este nimic php, verifici in baza de date daca licentele s-au salvat, si verifici cand jucatorul s-a conectat pe server (in gamemode) daca variabilele "pCarLic", "pGunLic", etc, extrag din baza de date valorile pentru licente. ex:


PlayerInfo[playerid][pCarLic] = cache_get_field_content_int(0, "CarLic");

 

    	PlayerInfo[playerid][pCarLicT]                  = cache_get_field_content_int(0, "CarLicT");
    	PlayerInfo[playerid][pCarLic]                   = cache_get_field_content_int(0, "CarLic");
		PlayerInfo[playerid][pCarLicSuspend]            = cache_get_field_content_int(0, "CarLicSuspend");
		PlayerInfo[playerid][pGunLicSuspend]            = cache_get_field_content_int(0, "GunLicSuspend");
    	PlayerInfo[playerid][pFlyLicT]                  = cache_get_field_content_int(0, "FlyLicT");
    	PlayerInfo[playerid][pFlyLic]                   = cache_get_field_content_int(0, "FlyLic");
    	PlayerInfo[playerid][pBoatLicT]                 = cache_get_field_content_int(0, "BoatLicT");
    	PlayerInfo[playerid][pBoatLic]                  = cache_get_field_content_int(0, "BoatLic");
    	PlayerInfo[playerid][pGunLicT]                  = cache_get_field_content_int(0, "GunLicT");
    	PlayerInfo[playerid][pGunLic]                   = cache_get_field_content_int(0, "GunLic");

 

8 hours ago, Leonard said:

In ce moment dispar licentele?

la relog, pardon.

Link to comment
Share on other sites

  • Administrator
Acum 1 oră, Ionut09 a spus:

    	PlayerInfo[playerid][pCarLicT]                  = cache_get_field_content_int(0, "CarLicT");
    	PlayerInfo[playerid][pCarLic]                   = cache_get_field_content_int(0, "CarLic");
		PlayerInfo[playerid][pCarLicSuspend]            = cache_get_field_content_int(0, "CarLicSuspend");
		PlayerInfo[playerid][pGunLicSuspend]            = cache_get_field_content_int(0, "GunLicSuspend");
    	PlayerInfo[playerid][pFlyLicT]                  = cache_get_field_content_int(0, "FlyLicT");
    	PlayerInfo[playerid][pFlyLic]                   = cache_get_field_content_int(0, "FlyLic");
    	PlayerInfo[playerid][pBoatLicT]                 = cache_get_field_content_int(0, "BoatLicT");
    	PlayerInfo[playerid][pBoatLic]                  = cache_get_field_content_int(0, "BoatLic");
    	PlayerInfo[playerid][pGunLicT]                  = cache_get_field_content_int(0, "GunLicT");
    	PlayerInfo[playerid][pGunLic]                   = cache_get_field_content_int(0, "GunLic");

 

la relog, pardon.

In baza de date se insereaza corect?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...