02.11.2009, 00:33
SetClientTimerEx(playerid, funcname, interval, repeating, const format[], {Float,_});
Instead of all the timers being ran server side. Simple timers should be able to be set client side. The reason I am suggesting this is that in my gamemode I use timers to set a cool down time after a perk has been used. All the function does that the timer runs is set a variable to False. The problem comes in that this can equal 20 or so timers per player. Since SetTimer and SetTimerEx set and control the timers server side and could cause lag, why not be able to have the client take some of the simple timer load from the server....
P.s it needs the playerid first to know what client to set the timer up for :P
Instead of all the timers being ran server side. Simple timers should be able to be set client side. The reason I am suggesting this is that in my gamemode I use timers to set a cool down time after a perk has been used. All the function does that the timer runs is set a variable to False. The problem comes in that this can equal 20 or so timers per player. Since SetTimer and SetTimerEx set and control the timers server side and could cause lag, why not be able to have the client take some of the simple timer load from the server....
P.s it needs the playerid first to know what client to set the timer up for :P