wanted doesen't save - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: wanted doesen't save (
/showthread.php?tid=153272)
wanted doesen't save -
punisher00 - 08.06.2010
How can I make to save the wanted when they will quit the game...
i tried with tthese comands:
on: public OnPlayerLogin(playerid,password[]) i put in that list this:
if( strcmp( key , "WantedLevel" , true ) == 0 ) { val = ini_GetValue( Data ); WantedLevel[playerid] = strval( val ); }
on

ublic OnPlayerUpdate(playerid) i put
format(var, 32, "WantedLevel=%d\n",WantedLevel[playerid]);fwrite(hFile, var);
and same for public OnPlayerRegister(playerid, password[]
When I quit the game it saves but when login on my account automaticaly set wanted level to 0 (zero)
can someone help...?
Re: wanted doesen't save -
Jackster - 08.06.2010
I would also like to know
Re: wanted doesen't save -
punisher00 - 09.06.2010
nobody?