17.06.2014, 16:09
Can't save player's score and money when he quit the game
onplayerregister
What is here problem
on registration new player don't get 3000$ and on login if he had some money, on login his money stay 0 ....
sory for bad english
Код:
pCash, pScore,
Код:
dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]); dini_IntSet(file, "Money", GetPlayerMoney(playerid));
Код:
dini_IntSet(file, "Money",PlayerInfo[playerid][pCash] = 3000); dini_IntSet(file, "Score",PlayerInfo[playerid][pScore] = 0);
Код:
PlayerInfo[playerid][pScore] = dini_Int(file, "Score"); PlayerInfo[playerid][pCash] = dini_Int(file, "Money");
on registration new player don't get 3000$ and on login if he had some money, on login his money stay 0 ....
sory for bad english