SA-MP Forums Archive
another question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: another question (/showthread.php?tid=187019)



another question - iJumbo - 31.10.2010

hey i have to do this

pawn Код:
1000*60*5
in settimer for get 5 minutes right??

and how i can get the second?


Re: another question - Mike_Peterson - 31.10.2010

new hours,minutes,seconds;
Gettime(hours,minutes,seconds);
sumthing like that? i dno :P


Re: another question - iJumbo - 31.10.2010

no -.- i mean in a timer ... im making a command /bombcar second .. i have 2 get the second in millisecond

this 1000*60*5 in the set timer is 5 minute how to get seconds ? what i have 2 change


Re: another question - i514x - 31.10.2010

1000 - a second

so SECOND + 3 zeros


Re: another question - iJumbo - 31.10.2010

solved its 1000*seconds like 1000*5 = 5000 millisec so 5 sec


Re: another question - Mike_Peterson - 31.10.2010

is it a countdown with textdraws or summing or just a timer? coz with a timer u can just put in 5000 :P


Re: another question - iJumbo - 31.10.2010

i have to make a command so player cant put 5000 but only 5 ...


Re: another question - Mike_Peterson - 31.10.2010

oh, you could do if ur using sscanf sometihng like ((((time*1000)))) ( 5x1000 = 5000)