Register/Login Help
#1

Alright so guys im tired it's around 11:48 pm for me and i think i mess up the code. On the player disconnecting it's not saving there money. When they first register they get 5000. But when i /q and check the script files it says 0$. I go in-game to make sure and it's still is at 0$. I think i messed up on the code but here it is. Please correct me if i'm wrong.

pawn Код:
dini_IntSet(file,"Money",PlayerInfo[playerid][pMoney]);
If thats not enough infomration just tell me and i'll add more of the code.
Reply
#2

Is it saving everything else you have in OnPlayerDisconnect?
Reply
#3

Can you show where you set file?
Reply
#4

Nvm, fixed it, you can't save Money and Score on OnPlayerDisconnect i just remember that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)