How to save stats after restart? +Rep
#6

Quote:
Originally Posted by mongi
Посмотреть сообщение
We need to see your codes to know why they don't change
Also We can't know how your game mode work to help you to code it. (Variables and so on)

Also this section isn't for requesting a script.
PHP код:
public OnPlayerDisconnect(playeridreason)
{
new 
INI:File INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
INI_Close(File);
return 
1;

Reply


Messages In This Thread
How to save stats after restart? +Rep - by CheckItOut - 19.07.2017, 18:03
Re: How to save stats after restart? +Rep - by FailerZ - 19.07.2017, 18:08
Re: How to save stats after restart? +Rep - by CheckItOut - 19.07.2017, 18:23
Re: How to save stats after restart? +Rep - by mongi - 19.07.2017, 18:55
Re: How to save stats after restart? +Rep - by FailerZ - 19.07.2017, 19:21
Re: How to save stats after restart? +Rep - by CheckItOut - 19.07.2017, 20:24
Re: How to save stats after restart? +Rep - by CheckItOut - 19.07.2017, 20:28
Re: How to save stats after restart? +Rep - by FailerZ - 19.07.2017, 20:46
Re: How to save stats after restart? +Rep - by Daymen - 19.07.2017, 20:46
Re: How to save stats after restart? +Rep - by Beryllium - 20.07.2017, 04:12

Forum Jump:


Users browsing this thread: 2 Guest(s)