Clocks! +rep
#3

PHP код:
new hourminutes;
GetPlayerTime(playeridhourminutes);
SetPlayerTime(playeridhour-12minutes); 
Under OnPlayerDeath or something
or better yet under OnPlayerSpawn

if that one fails to set time when going under 0 use this instead,

PHP код:
new hourminutes;
GetPlayerTime(playeridhourminutes);
for(new 
OB1=0;12;OB1++) {
                
hour -= 1;
        if(
hour 0) {
            
hour 23;// change this to max hour in gta sa environment!
        
}
    }
SetPlayerTime(playeridhourminutes); 
Reply


Messages In This Thread
Clocks! +rep - by ironmen - 20.07.2015, 10:18
Re: Clocks! +rep - by SoFahim - 20.07.2015, 10:28
Re: Clocks! +rep - by Glenn332 - 20.07.2015, 10:29
Re: Clocks! +rep - by ironmen - 20.07.2015, 11:53
AW: Clocks! +rep - by Kaliber - 20.07.2015, 11:55
Re: Clocks! +rep - by nezo2001 - 20.07.2015, 12:20
Re: Clocks! +rep - by Evocator - 20.07.2015, 12:28
Re: Clocks! +rep - by Glenn332 - 20.07.2015, 12:48

Forum Jump:


Users browsing this thread: 1 Guest(s)