22.07.2011, 09:50
pawn Код:
#define SPAWN_FILE "save_%s.ini" // Change this
OnPlayerSpawn:
new string[5+4+MAX_PLAYER_NAME+10], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), SPAWN_FILE, name);
if(!fexist(string)) return 1;