Uladzislau Nikalayevich

Results 111 comments of Uladzislau Nikalayevich

I feel draw functions shouldn't manage model loading. Using this draw function with blocking mode is totally wrong, it causes FPS drops. Async mode is bad too, it causes drawing...

> `engineLoadModel` is good but the fact is there is no way to preserve a model in memory without a refs count increment. I'm not sure if preserving a model...

How will it work with addRef = false and addRef = true ?

"the next frame" I remember gta uses some sort of multi threading for file loading. Does gta guarantee that the model will be loaded exactly on the next frame?

I checked linux 32 21942 build with default resources on debian 12 x86 and on ubuntu 22.04 x64. I got no crash after startup. Also i got no crash after...

> * Array-like Lua tables with gaps in them will still deserialize to a Lua table with string keys, that's a limitation of the JSON specification as far as I...

This is because MTA does not actually destroy objects/vehicles/peds when we call destroyElement. destroyElement marks an element with the "being deleted" flag, puts it on the "delete on next tick"...

Merge conflicts solved