Saving player pos
#2

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;
Not sure if it works, I wrote it on this little input box. May/may not have errors
Reply


Messages In This Thread
Saving player pos - by marwan - 22.07.2011, 09:36
Re: Saving player pos - by Lorenc_ - 22.07.2011, 09:50
Re: Saving player pos - by marwan - 22.07.2011, 14:50
Re: Saving player pos - by Lorenc_ - 22.07.2011, 14:53
Re: Saving player pos - by marwan - 22.07.2011, 14:56

Forum Jump:


Users browsing this thread: 1 Guest(s)