total time - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: total time (
/showthread.php?tid=418717)
total time -
blackdragon1 - 25.02.2013
i am saving player total time stats but when player /q the game and rejoin so time will reset.
i added this on saveuser
PHP код:
INI_WriteInt(ufile, "time", GetPVarInt(playerid,"time"));
what i need to loaduserstats
like this?
PHP код:
SetPVarInt(playerid, "time", INI_WriteInt(ufile, "time"));
Re: total time -
Misiur - 25.02.2013
https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420
Reading data from ini doesn't work this way
Re: total time -
blackdragon1 - 25.02.2013
yes i read it but i still dnt know how ot make alive time can u give me codes? please