02.03.2014, 20:48
Hey guys,
I've got a question:
When I load in the objects upon gamemode init, the objects appear to be flickering (in visibility) depending on the distance from the player to said object.
To load the object I assign it to a objectid inside an array like so:
All the values in "ItemData" are being assigned right before spawning the object, aswell as "GetItemModel" also seems to work (It extracts the value from a SQLite db) as the item does spawn with the right model id.
Any idea's?
I've got a question:
When I load in the objects upon gamemode init, the objects appear to be flickering (in visibility) depending on the distance from the player to said object.
To load the object I assign it to a objectid inside an array like so:
Код:
ItemData[i][WObjectID] = CreateDynamicObject(GetItemModel(i), ItemData[i][x], ItemData[i][y], ItemData[i][z], 0.0, 0.0, 0.0, ItemData[i][VWorldID], ItemData[i][Interior]);
Any idea's?