server not saving stats
#2

Please take a look at some tutorials, that's not the correct way to save/load with Dini.

For example, in OnPlayerConnect:
pawn Код:
new file[256];
if(fexist(file))
The file you're trying to check whether exists or not is null. Plus, 256 is waste, even 40 would be a lot.

In OnPlayerDisconnect, a file with just a name is not something (I've seen) that is used in samp so far. Use an extension.
Reply


Messages In This Thread
server not saving stats - by Thundey - 21.09.2013, 17:33
Re: server not saving stats - by Konstantinos - 21.09.2013, 17:41

Forum Jump:


Users browsing this thread: 2 Guest(s)