Kvostyc 4 Odesláno: 7. Prosinec, 2014 Share Odesláno: 7. Prosinec, 2014 čuste takže mám problém. Keď sa odpojím zo servera tak mi to penaize uloží, ale ked prídem na server tak mi to negivne tie peniaze ktore su ulozene v subore KOD: toto mám v disconnect dini_IntSet(cesta, "Money", GetPlayerMoney(pInfo[playerid][pCash])); a spawn: pInfo[playerid][pCash] = dini_Int(cesta, "Cash"); GivePlayerMoney(playerid,pInfo[playerid][pCash]); Link to comment Share on other sites More sharing options...
0 vladasavel 26 Odesláno: 7. Prosinec, 2014 Share Odesláno: 7. Prosinec, 2014 já mám v disconnetct dini_IntSet(file, "Money", GetPlayerMoney(playerid)); a funguje to jak máá..v conectu ani spawnu nic nemám..jen v response kde mám registraci tak GivePlayerMoney(playerid, dini_Int(file, "Money")-GetPlayerMoney(playerid));třeba ti to pomůůže Link to comment Share on other sites More sharing options...
0 Robin 67 Odesláno: 7. Prosinec, 2014 Share Odesláno: 7. Prosinec, 2014 Link to comment Share on other sites More sharing options...
0 Kvostyc 4 Odesláno: 8. Prosinec, 2014 Author Share Odesláno: 8. Prosinec, 2014 Božeee :DD taka chybička.... díky ! Link to comment Share on other sites More sharing options...
Dotaz
Kvostyc 4
čuste takže mám problém. Keď sa odpojím zo servera tak mi to penaize uloží, ale ked prídem na server tak mi to negivne tie peniaze ktore su ulozene v subore
KOD:
toto mám v disconnect
dini_IntSet(cesta, "Money", GetPlayerMoney(pInfo[playerid][pCash]));
a spawn:
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now