13.01.2010, 21:52
Okay I've been working on this for 4 hours.. 4 FREAKIN HOURS..
Any help would be great.
I'm trying to make my gamemode save my money OnPlayerDissconnect.
I got my /login to load how much money is saved in the Character file.. Example cash=30000 it will load 30k when you do /login. Although when I disconnect it does not save the money and update my file.
I tryed this, and it didn't work so any help would be nice
Any help would be great.
I'm trying to make my gamemode save my money OnPlayerDissconnect.
I got my /login to load how much money is saved in the Character file.. Example cash=30000 it will load 30k when you do /login. Although when I disconnect it does not save the money and update my file.
I tryed this, and it didn't work so any help would be nice
Код:
dini_IntSet(file,"Cash", GetPlayerMoney(playerid));