Confused :/
#2

Код:
Mins=CountRaceTime[playerid][1]/60;
the Mins is an integer, it wont show values like 1.013, if you want to get the remaining seconds, simply use
Код:
RemainingSeconds=CountRaceTime[playerid][1]%60;
for 222 seconds, it will give you Mins=222/60=3, and RemainingSeconds=222%60=42, thats
3:42
Reply


Messages In This Thread
Confused :/ - by FireCat - 16.07.2011, 13:31
Re: Confused :/ - by Babul - 16.07.2011, 14:20

Forum Jump:


Users browsing this thread: 4 Guest(s)