25.12.2009, 17:59
Quote:
Originally Posted by Adam199
Write in top of the script:
#define <file> |
Niixie, don't just copy paste the code, you should edit it to suit your needs. It's most probably the file's directory, so you should get the player's name and edit the script to put the file in the folder you use to save accounts.
pawn Code:
new
PlayerName[MAX_PLAYER_NAME];
string[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "Your directory for saving users/%s", PlayerName);
dini_IntSet(string, "Cash", GetPlayerMoney(playerid));