06.07.2009, 04:56
You have to assign something to %s. Do you think Pawn is smart enough to guess that your %s should be a player name?
But this will silently crash your server if a player have a name containing forbidden files characters.
pawn Код:
new str[17 + MAX_PLAYER_NAME];
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
format(str, sizeof str, "xadmin/Users/%s.ini", str);
if(dini_Exists(str))