Jump to content
  • 0

Problema ore gift


VladDz.

Question

Problema intalnita (descriere): Deci daca un jucator da /getgift, iar dupa da /q, cand intra inapoi nu trebuie sa astepte x ore, ci poate sa dea din nou /getgift.
Ero(area / rile) / warning-(ul / urile): Am adaugat asta la on player disconnect.
 

mysql_format(handle, gQuery, sizeof(gQuery), "UPDATE `players` SET `Gift` = '2' WHERE `ID` = %d", PlayerInfo[playerid][pSQLID]);
    PlayerInfo[playerid][pGift] = 2;
    Update(playerid, pGiftx);


Liniile de cod / sursa / script-ul(obligatoriu): -
    Update(playerid, pGiftx);

Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da, am incercat. 

mysql_format(handle, gQuery, sizeof(gQuery), "UPDATE `players` SET `Gift` = '2' WHERE `ID` = %d", PlayerInfo[playerid][pSQLID]);
    PlayerInfo[playerid][pGift] = 2;
    Update(playerid, pGiftx);

 

sal

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.