Count Down fix?
#4

Quote:
Originally Posted by Balcan Fox
View Post
Hello x)
Code:
//minutes
new mins;
mins = floatround(CountDownFromAmount/60, floatround_floor);
//seconds
new seconds;
seconds = CountDownFromAmount;
while (seconds > 60)
{
    seconds -= 60;
}
Doing this for the first time so I am not sure if this will work, here are some SA-MP Wiki links you can use
https://sampwiki.blast.hk/wiki/Floatround
https://sampwiki.blast.hk/wiki/Floatround_method
I am beginner so I don't know how to use that for my script Thanks btw
Reply


Messages In This Thread
Count Down fix? - by Fantje - 09.10.2015, 16:10
Re: Count Down fix? - by thefirestate - 09.10.2015, 16:24
Re: Count Down fix? - by Balcan Fox - 09.10.2015, 16:24
Re: Count Down fix? - by Fantje - 09.10.2015, 16:26
Re: Count Down fix? - by Vince - 09.10.2015, 16:31
Re: Count Down fix? - by Balcan Fox - 09.10.2015, 16:35
Re: Count Down fix? - by Vince - 09.10.2015, 16:51
Re: Count Down fix? - by AbyssMorgan - 09.10.2015, 16:53
Re: Count Down fix? - by Balcan Fox - 09.10.2015, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)