Jump to content
  • 0

Problema Gold


..H3AtonN..

Question

Problema intalnita (descriere): Salut.Va rog eu mult de tot,ati putea sa-mi bagati in baza de date,de mai jos,Gold?Mie nu-mi ramane gold-ul pe cond..Adica daca intru pe server,si ii dau cuiva gold,acel player,daca iese sau daca dau eu restart la server,gold-ul ii dispare..si am inteles,ca trebuie in baza de date,Gold..Si nu e..si nici nu stiu ce sa bag..
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): Baza de date e putin mai jos
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?:  Nu stu ce sa incerc,Va rog eu mult,daca rezolv acest bug,o sa-i dau drumul la server,si cine ma ajute,ii dau admin lvl 3.

rpg.sql

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Cred ca mai trebuie ceva in genu

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

Gold=variabila unde se retine valoarea

Link to comment
Share on other sites

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.