View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009820||New issues||Scripting||public||2018-03-06 02:17||2018-09-30 13:43|
|Status||closed||Resolution||no change required|
|Summary||0009820: onClientHUDRender() does not trigger when MTA is minimized|
onClientRender and onClientPreRender work when MTA is minimized, onClientHUDRender does not.
|Steps To Reproduce|
local numberz = 0
addEventHandler("onClientHUDRender", root, function()
-- Minimize MTA and re-open it after 10 seconds, you will see that "numberz" did not move forward in that time.
I found this "bug" when i used onClientPreRender to store information in a table and then do something with that information a little bit later in onClientHUDRender and delete that table.
|Tags||No tags attached.|
Isn't this how pretty much every game works? DirectX device is lost once you minimize MTA, because you simply don't need to do process any graphics.
Then why do onClientRender and onClientPreRender continue to work?