21.07.2015, 11:14
SetDynamicObjectMaterial is for objects created by the streamer plugin. SetObjectMaterial is for regular objects created with CreateObject, be sure to keep that in mind.
Check my code again, you forgot to copy new ObjectModel[MAX_CREATED_OBJECTS] and new Object[MAX_CREATED_OBJECTS].
Hope it works for you
Check my code again, you forgot to copy new ObjectModel[MAX_CREATED_OBJECTS] and new Object[MAX_CREATED_OBJECTS].
Hope it works for you