PayDay Bug!
#1

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!
Reply
#2

Wrong section.

Post here - http://forum.sa-mp.com/forumdisplay.php?f=12
Reply
#3

Wrong section as he said.. just one question does it loop?
Reply
#4

Quote:
Originally Posted by Tingesport
Посмотреть сообщение
Wrong section as he said.. just one question does it loop?
Yes, before 3 days ! Then it just stopped!
Reply
#5

A stock... are you serious...?
Reply
#6

Quote:

stock Timer()

Seems legit.

Use a public instead.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)