PayDay Bug! - 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: PayDay Bug! (
/showthread.php?tid=442898)
PayDay Bug! -
KrishkoW - 09.06.2013
My PayDay is not working correctlyt!
Always after stats restart everything is ok till one moment, idk why!
I think the problem is the database, but it is not!
Then found that by the time the timer stops working, becouse weather didnt change and game time too!
This is the timer which stops working:
Код:
stock Timer()
{
new newhour,newminute,newsecond;
gettime(newhour, newminute, newsecond);
if ((newhour > ghour) || (newhour == 0 && ghour == 23))
{
ghour = newhour;
PayDayTime();
SetWorldTime(newhour);
}
}
If anyone have any solutions please help!
Re: PayDay Bug! -
Travis The Tiger - 09.06.2013
Wrong section.
Post here -
http://forum.sa-mp.com/forumdisplay.php?f=12
Re: PayDay Bug! -
Tingesport - 09.06.2013
Wrong section as he said.. just one question does it loop?
Re: PayDay Bug! -
KrishkoW - 09.06.2013
Quote:
Originally Posted by Tingesport
Wrong section as he said.. just one question does it loop?
|
Yes, before 3 days ! Then it just stopped!
Re: PayDay Bug! -
Baboon - 09.06.2013
A stock... are you serious...?
Re: PayDay Bug! -
Face9000 - 09.06.2013
Seems legit.
Use a public instead.