SRL Archive - General

Need Some Help


-chaos-

2006-04-21 16:59:39

wat function makes scar wait over 5 minutes or makes it wait for a certain amount of minutes cause i need it for a script im making

help is greatly appreciated

ReFLeX

2006-04-21 17:49:14

wait(300000) = 5 mins

timmyboy

2006-04-21 17:52:15

wait(TIME_IN_MILLISECONDS);

so for example,
wait(1000); would be one second.
If you want 5 minutes, thats 300 seconds which is 300000 milliseconds, so

wait(300000);

If you need any more help then just post here.

timmyboy

2006-04-21 17:53:22

From: ReFLeX
wait(50000) = 5 mins

Thats only 50 seconds

edit:oops sorry for double post

ReFLeX

2006-04-21 18:00:01

From: timmyboy
Thats only 50 seconds

edit:oops sorry for double post

oo your right, im out of it today

The Un-Named

2006-04-21 18:11:47

If you have somthing as a const, lets say "Const Secon = 1; // Ignore." then do "Wait(Secon * 1000);", it would wait 1 second.

-chaos-

2006-04-21 21:13:22

thanks guys that really helped

timmyboy

2006-04-21 21:50:14

From: -chaos-
thanks guys that really helped

No problem, remember, you can always ask us for help.

Ejjman

2006-04-22 18:04:00

300000 I think. Oh nvm

XxKanexX

2006-04-22 21:37:19


Wait( (1000*60) * MinutesToWait );
;)
1000 = 1 Second.
1000 * 60 = 60 Seconds = 1 Minute
60 Seconds * MinutsToWait = Wait in Minutes. ;o