Timer time is duplicating..
#1

So I have this:

PHP код:
Timer[playerid][myzone] = SetTimerEx("TakeZone"time*1000false"ii"playeridmyzone); 
But it actually gets called in 20 seconds not in 10, can someone help me?


I really need that and to make it work I'm doing this right now:

PHP код:
new time ZoneInfo[czone][CZ_Time]/2;//I have to divide it in two so if the zone time is 20 seconds the timer will take it as 20 :(
                
Timer[playerid][czone] = SetTimerEx("TakeZone"time*1000false"ii"playeridczone); 
Reply
#2

time * 1000 / 2
Reply
#3

--- That's pretty obvious. ---

I want to know why the timer is duplacating the given time.

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)