02.06.2008, 14:01
how do i save the weapons on logout, but lose on death
#define userfile "/users/%s.ini"
new cfile[128];
format(cfile, 128, userfile, GetName(playerid));
dini_IntSet(cfile, "Money", 0);
SetPlayerMoney(playerid, dini_Int(cfile, "Money"));
stock GetName(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof name); return name; }