update this every 1 second???
#3

Forwards
pawn Код:
forward savecash(playerid);
Under OnPlayerSpawn or Connect (watever it may be. Its up to you)
pawn Код:
SetTimerEx("savecash", 1000, true, "i", playerid);
Publics
pawn Код:
public savecash(playerid);
{
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid)) ;
return 1;
}
+rep me if i helped

Credits: king_hual
Reply


Messages In This Thread
update this every 1 second??? - by trapstar2020 - 28.09.2012, 17:54
Re: update this every 1 second??? - by Kitten - 28.09.2012, 17:59
Re: update this every 1 second??? - by Xtreme Brotherz - 28.09.2012, 18:11
Re: update this every 1 second??? - by OnlyOne - 28.09.2012, 18:34
Re: update this every 1 second??? - by SumX - 28.09.2012, 18:45
Re: update this every 1 second??? - by KingHual - 28.09.2012, 18:48
Re: update this every 1 second??? - by Xtreme Brotherz - 28.09.2012, 18:49
Re: update this every 1 second??? - by KingHual - 28.09.2012, 18:56
Re: update this every 1 second??? - by Xtreme Brotherz - 28.09.2012, 18:57
Re: update this every 1 second??? - by Xtreme Brotherz - 28.09.2012, 19:09

Forum Jump:


Users browsing this thread: 2 Guest(s)