Timer minutes saving dini - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Timer minutes saving dini (
/showthread.php?tid=275112)
Timer minutes saving dini -
jaksimaksi - 08.08.2011
Okay I want to make a timer who is not allowing to scrap something after scraping 10 minutes and save it with dini, that when player logs in again timer runs left time. poor english -_-
This is timer:
pawn Код:
SetTimerEx("scraping",PlayerInfo[playerid][pScrap]*100000,0,"iffffi",playerid,-225.6496,984.9903,19.5899,93.5538,0);
This is saving:
pawn Код:
dini_IntSet(usfile,"Scraptime",PlayerInfo[playerid][pScrap]);
But timer is not saving. Whats wrong? I mean timer dont gets to
PlayerInfo[playerid]pScrap
AW: Timer minutes saving dini -
jaksimaksi - 08.08.2011
no ideas?
AW: Timer minutes saving dini -
jaksimaksi - 08.08.2011
help help help
Re: Timer minutes saving dini - array13 - 08.08.2011
triple post...is forbidden, start using "edit" option
AW: Timer minutes saving dini -
jaksimaksi - 08.08.2011
No one answered an thread was far away... so
Re: Timer minutes saving dini -
LZLo - 08.08.2011
Quote:
forward scraping(playerid);
|
after the stuff:
Quote:
SetTimerEx("scraping", 1000, 1);
|
Quote:
public scraping(playerid)
{
dini_IntSet(usfile,"Scraptime",PlayerInfo[playerid][pScrap]);
return 1;
}
|
i coluldn't understand the real problem really
AW: Timer minutes saving dini -
jaksimaksi - 08.08.2011
Ech... How to save timer time with dini?
Re : Timer minutes saving dini -
Soumi - 08.08.2011
Check this thread you might find an answer there.
https://sampforum.blast.hk/showthread.php?tid=273517