Help with one thing please
#1

Hello, well I dont know if this is the right section But could someone please tell me how to set 1 hour in PAWNO?

-Thank you
Reply
#2

1 hour in Pawno? wtf?
Reply
#3

I mean I have a payday system for example, And I want to set that every hour it wil lgive payday to people, how do I actually write 1 hour in the script? I wont write 1 hour right? :P
Reply
#4

pawn Код:
payday[playerid] = SetTimerEx("payday",14400000,1,"d",playerid);
That would be 14 Minutes for example
Reply
#5

Ohh ok, thank you
Reply
#6

Quote:
Originally Posted by dillo1000
Посмотреть сообщение
pawn Код:
payday[playerid] = SetTimerEx("payday",14400000,1,"d",playerid);
That would be 14 Minutes for example
Actually that would be 240 minutes .

14000 is 14 seconds, as SetTimer and SetTimerEx operate in milliseconds.
Reply
#7

1 hour = 60 minutes = 3600 seconds = 3600000 milliseconds
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)