11.09.2011, 01:42
PHP код:
new amount;
GetPlayerMoney(playerid, amount);
DOF2_SetInt(file, "Money",PlayerInfo[playerid][pMoney] = amount); // Sets the Number
DOF2_SaveFile(); // saves the changes
Thanks
new amount;
GetPlayerMoney(playerid, amount);
DOF2_SetInt(file, "Money",PlayerInfo[playerid][pMoney] = amount); // Sets the Number
DOF2_SaveFile(); // saves the changes
DOF2_SetInt(file, "Money",GetPlayerMoney(playerid)); // Sets the Number
DOF2_SaveFile(); // saves the changes