Saving score/money to enum?
#1

Ok im fimiliar on how enums work but what must i add under OnPlayerDissconnect to save there score and money?

Please help
Reply
#2

I hope you use Dini..
Код:
        dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]);  
        dini_IntSet(file, "Money", PlayerInfo[playerid][pCash]);
And it will save
Reply
#3

Thankyou

Yes Dini, And i can get there score like this?:

Код:
dUserSetINT(pName(playerid)).("score",GetPlayerScore(playerid));
Some shit like that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)