28.10.2013, 21:27
Not a safe way. You can just store the first object id, and then change the material for the following 100+ ids. But this will just work safely if you create the objects at gamemode start, never remove them during runtime, and always completely shut down the server for restarting it, instead of using gmx or stuff. Else ids might get mixed up, and some of the ids after the stored one might be invalid or belong to other objects, eventually turning your map into a psychedelic wonderland of strange textures.
Alternatively, you can change the material directly on creation for every single object, but that extremely messy.
SetObjectMaterial(CreateObject(habbbadffd), adjkasdjkasjkfj)
Alternatively, you can change the material directly on creation for every single object, but that extremely messy.
SetObjectMaterial(CreateObject(habbbadffd), adjkasdjkasjkfj)