Save player stats
#5

You declare two variables: File and file. Since you opened the file with "file" variable which uses the INI tag, use that as the first parameter because "File" doesn't have any tag and also not assigned to any value.

This line is also wrong:
pawn Код:
format(path,sizeof(path),"/Players/%d.ini");
formatting nothing and %d is for integers when should have been a string for the player's name.
Reply


Messages In This Thread
Save player stats - by CSLangdale - 31.05.2016, 15:42
Re: Save player stats - by ilijap - 31.05.2016, 15:47
Re: Save player stats - by Konstantinos - 31.05.2016, 16:05
Re: Save player stats - by CSLangdale - 31.05.2016, 16:09
Re: Save player stats - by Konstantinos - 31.05.2016, 16:21
Re: Save player stats - by Rubey - 31.05.2016, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)