Can someone explain me this
#1

How much time is that means??
someone gave me it and i dont know how much time does it takes

pawn Код:
SetTimer("ShopRobAgain", 1000*6*2, 0);
Reply
#2

12 seconds.
Reply
#3

Сan you make it 6 mins for me
Reply
#4

pawn Код:
SetTimer("ShopRobAgain", 360000, 0);
Reply
#5

Thanks
Reply
#6

Np
Reply
#7

pawn Код:
SetTimer("ShopRobAgain", 360000, 0);
There you go.

The * symbol means 'x' within mathematics - by 'x' I mean times. So 5*5 would be 25, as its the same as 5x5.
"SetTimer" works within milliseconds, so 1000 milliseconds = 1 second, then * it by 60 = 60 seconds (1 minute), * 6 = 6 minutes (360000 milliseconds).

Edit: he beat me to it. Anyway, enjoy the little explenation.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)