Automatically
#3

Quote:
Originally Posted by ItsRobinson
View Post
PHP Code:

    
new randtime random(60000 30000)+30000//this generates a random number between 60,000 and 30,000
    
    
SetTimerEx("Grow"randtimefalse"i"playerid);
forward Grow(playerid);
public 
Grow(playerid)
{
    
//your code for the grow
    
new randtime random(60000 30000)+30000//this generates a random number between 60,000 and 30,000
    
    
SetTimerEx("Grow"randtimefalse"i"playerid);

That's how you would make a random timer between 1 minute and 30 seconds.
Hey buddy thanks, but i want to send silentclientmessage to player when times end and one more thing, i want lable of time, i mean when time start the label will be created (i can do that but please make me function) Health 0% to 100% under 1:30 as u made that timer
Reply


Messages In This Thread
Automatically - by Ahmadd - 09.07.2018, 17:53
Re: Automatically - by ItsRobinson - 09.07.2018, 20:31
Re: Automatically - by Ahmadd - 10.07.2018, 06:56
Re: Automatically - by JasonRiggs - 10.07.2018, 06:59
Re: Automatically - by Ahmadd - 10.07.2018, 08:07
Re: Automatically - by Ahmadd - 10.07.2018, 09:24

Forum Jump:


Users browsing this thread: 4 Guest(s)