#1

I dont see the lotto start..how can I make it start at payday??

PHP код:
SyncTime
            
if(tmphour == 20 && tmpminute == && tmpsecond == 0)
                    {
                        
SendClientMessageToAll(COLOR_WHITE"Lottery News:  Over 5 minutes it's time the Lottery Election.");
                        
SendClientMessageToAll(COLOR_WHITE"Lottery News:  Use /lotto [number] to put a number. Good Luck !");
                    }
                    if(
tmphour == 20 && tmpminute == && tmpsecond == 0)
                    {
                        new 
rand random(80);
                           if(
rand 77) { rand += 3; }
                        
Lotto(rand);
                    } 
Reply
#2

whyplease help!
Reply
#3

bump
Reply
#4

Make sure the variables are set before using the if statement or it will never return to true.
Reply
#5

fixed!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)