/stats command isnt updating the stats
#3

Quote:
Originally Posted by verlaj
Посмотреть сообщение
use a timer to update player scores and stuff, example is.. INI_WriteInt(file,"Scores",GetPlayerScore(playerid ));
I've goto say you're wrong here, if you actually change the data vars in the Enum in lets say /setadminlevel [playerid] [level] then save the stats on disconnect with a stock or function it'll always be updated no matter what you're doing, using a timer to save or load information A. is inaffective And B. a down right stupid idea.


EG.
pawn Код:
pInfo[playerid][AdminLevel] = 5458755363;

new str[40];
format(str,sizeof(str),"Administration Level: [%d]",pInfo[playerid][AdminLevel]);
SendClientMessage(playerid, 0xFF43AA, str);

// You can change the color because i just made it up
Reply


Messages In This Thread
/stats command isnt updating the stats - by efrim123 - 15.10.2013, 02:46
Re: /stats command isnt updating the stats - by verlaj - 15.10.2013, 05:03
Re: /stats command isnt updating the stats - by zT KiNgKoNg - 15.10.2013, 09:07
Re: /stats command isnt updating the stats - by Harish - 15.10.2013, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)