Help Please
#1

PHP код:
new hour,minute,seconds;
                                        
gettime(hour,minute,seconds);
                                        if(
hour >= 16 && hour <= 20)
                                        {
                                            
SendClientMessage(iCOLOR_RED"    two points!");
                                            new 
playerexp PlayerInfo[i][pExp]; //RP
                                            
PlayerInfo[i][pExp] = playerexp 2;
                                        }
                                        else if(
hour >= 21 && hour <= 15)
                                        {
                                            
SendClientMessage(iCOLOR_RED"    one point!");
                                            
PlayerInfo[i][pExp]++;
                                        } 
how can I make so it goes non-stop ?like over night too..
Reply
#2

edit. I made mistake sorry delete this..
Reply
#3

What does this exactly do, when is it used and what do you want to do (be specific)?
Reply
#4

it has to go over night too.. but it isn't it goes only from hour 16-20 and 21-15 .. and over night it dosent give rep..
Reply
#5

How old are you ?
CHANGE THOSE 4 NUMBERS GOD DAMN IT
have you seen a clock ? or even had math at first grade ? A number can't be higher than 21 and lower than 15 at same time.
I don't even know what the hell is going on anymore, seems like less than 0.5% of sa-mp server owners are older than 10.
Reply
#6

and then what number do I put??
Reply
#7

PHP код:
new hour,minute,seconds
                                        
gettime(hour,minute,seconds); 
                                        if(
hour >= 16 && hour <= 20
                                        { 
                                            
SendClientMessage(iCOLOR_RED"    two points!"); 
                                            new 
playerexp PlayerInfo[i][pExp]; //RP 
                                            
PlayerInfo[i][pExp] = playerexp 2
                                        } 
                                        else if((
hour >= 21 && hour <= 24) || (hour >= && hour <= 15)) 
                                        { 
                                            
SendClientMessage(iCOLOR_RED"    one point!"); 
                                            
PlayerInfo[i][pExp]++; 
                                        } 
not tested, but should work.
Reply
#8

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
How old are you ?
CHANGE THOSE 4 NUMBERS GOD DAMN IT
have you seen a clock ? or even had math at first grade ? A number can't be higher than 21 and lower than 15 at same time.
I don't even know what the hell is going on anymore, seems like less than 0.5% of sa-mp server owners are older than 10.
I feel you, lol. Especially this guy isn't willing to work nor actually THINK for himself. Check his topic history and you'll find out why any help you offer him is wasted. All he cares about is 'asking questions' while expecting people to script for him.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)