Jump to content

Question

Posted

Salut am un mod pe baza de date mysql..problema e ca dau wanted cuiva (de ex wanted 3) si iese ... in momentu in care a iesit se salveaza wantedu in baza de date ... dar dupa ce se logheaza se reseteaza la 0

4 answers to this question

Recommended Posts

Posted

Vezi la OnPlayerConnect daca ai pus sa dea wanted 0,ceva gen

[pawn]PlayerInfo[playerid][pWanted] = 0[/pawn]sau [wanted] = 0

Daca nu posteaza liniile cu salvarea si incarcarea wantedului.

gXvsYS
Posted

Pai .. e ok la conectare dupa ce da login ... se sterge wantedu .. o fi de la onplayerlogin? ai idee daca

        mysql_fetch_field_row(result,"WantedLevel"); PlayerInfo[playerid][pWantedLevel] = strval ( result );

trebuie introdus ? si daca da ... are importanta ordinea trebuie sa coincida cu database?

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.