One small question!
#1

SetTimerEx("Payday",1*60*60*3600000,true,"i",j)

How do I make this timer is activated every hour rounds?
Reply
#2

pawn Код:
SetTimerEx("Payday",360000,true,"i",playerid)

//Anywhere, not in Callbacks

forward Payday(playerid);
public Payday(playerid)
{
    //Your other code
    return 1;
}
Reply
#3

Don't work.Help?
Reply
#4

SetTimerEx("Payday",360000,true,"i",playerid) put OnPlayerConnect
Reply
#5

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
SetTimerEx("Payday",360000,true,"i",playerid) put OnPlayerConnect
One real hour is 3'600'000, not 360'000 because: 60*60=3600; 3'600*1000=3'600'000; So real code is:

SetTimerEx("Payday",3600000,true,"i",playerid);

Also if you would put it under OnPlayerConnect I suggest you to add Variable to track each Timer for each player and then on disconnect kill timer of player that left the server.
Reply
#6

How to create this timer?
Reply
#7

Again don't work.
Reply
#8

Please help?
Reply
#9

Payday use 3 systems and no one not raboti.Puskam server 5 minutes before the hour rounds and gives me Payday. This is the final system test and if someone can help me I would greatly appreciate it!
Reply
#10

Quote:
Originally Posted by Ruffian
Посмотреть сообщение
Payday use 3 systems and no one not raboti.Puskam server 5 minutes before the hour rounds and gives me Payday. This is the final system test and if someone can help me I would greatly appreciate it!
Please english - Translated:
Payday use 3 systems and no one didn't worked.I start server 5 minutes before the hour rounds and gives me Payday. This is the final system test and if someone can help me I would greatly appreciate it!

The posts over me should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)