rain_gloom Posted May 27, 2013 Share Posted May 27, 2013 To put it short: the idea comes from the Unity developers, because in Unity, there is a global variable that tells you how much time elapsed since the last screen update. The reason for this: as far as I know, only timers can be used for repetitive functions, but too many timers are bad (or so I heard) I know this can be scripted easily, but making it a built-in global eliminates the need to boilerplate-code it for every script or use exports. -wow, even I get confused from my sentence structure Link to comment
ixjf Posted May 27, 2013 Share Posted May 27, 2013 The event onClientPreRender has a parameter in which the time passed since the last frame is passed to. Link to comment
MTA Team qaisjp Posted May 30, 2013 MTA Team Share Posted May 30, 2013 The event onClientPreRender has a parameter in which the time passed since the last frame is passed to. which is delta time Link to comment
Recommended Posts