Open CrosRoad95 opened 1 month ago
what is the advantage of this?
It may be an option to choose between "virtual objects" aka dxDrawModel, and regular, just drawing model is more performant
are you sure about this? i need to do some comparison tests
At least you don't risk more important objects to disappear when player, element has attached many objects
impossible to achieve using regular createObject
two modes must be used simultaneously, not just one or the other the function could be "attachVirtual" and should be synchronized between players
It also should support attaching to vehicles ( if it is not supported yet ), i could use it for more efficient visual tuning
I assume that we will have to use "onClientRender" to render virtual objects (currently we only use "onPedsProcessed")
I highly recommend testing this, and benchmarking the comparisons
For now I think this feature is experimental because it was only reintroduced recently. Idk of production servers that use ir already
Simply replace objects with https://wiki.multitheftauto.com/wiki/DxDrawModel3D