My Reg/Log system is not working fine
#2

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
pawn Код:
if(fexist(UserPath(playerid)))
and if it does, do the procedure above.
Reply


Messages In This Thread
My Reg/Log system is not working fine - by baba1234 - 17.05.2015, 12:12
Re: My Reg/Log system is not working fine - by Konstantinos - 17.05.2015, 12:16
Re: My Reg/Log system is not working fine - by baba1234 - 17.05.2015, 12:18
Re: My Reg/Log system is not working fine - by Konstantinos - 17.05.2015, 12:22
Re: My Reg/Log system is not working fine - by baba1234 - 17.05.2015, 12:24

Forum Jump:


Users browsing this thread: 3 Guest(s)