17.05.2015, 12:16
It's because you open the file write in it and close it in OnPlayerDisconnect (it's called even if the player gets kicked).
Check if the file exists before
and if it does, do the procedure above.
Check if the file exists before
pawn Код:
if(fexist(UserPath(playerid)))