rain_gloom Posted May 27, 2013 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 My GitHub function brain() return nil end
ixjf Posted May 27, 2013 Posted May 27, 2013 The event onClientPreRender has a parameter in which the time passed since the last frame is passed to. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
MTA Team qaisjp Posted May 30, 2013 MTA Team 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
rain_gloom Posted June 7, 2013 Author Posted June 7, 2013 thx My GitHub function brain() return nil end
Recommended Posts