23.09.2010, 16:25
How to make in script like this:
that this stats would save in /scriptfiles/mygamemode/users
now it just saves in scriptfiles folder
Код:
public OnPlayerDisconnect(playerid, reason) { new file[MAX_PLAYER_NAME+5], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(file, sizeof(file), SAVE_FILE, name); dini_IntSet(file, "Score", GetPlayerScore(playerid)); return 1; }
now it just saves in scriptfiles folder