21.12.2016, 18:11
Hello, i'm trying to obtain an object that emits light without texture.
Object id 19281 represents that little white dot that emits light but i want to hide the texture of it.
I tried something like this:
and the light is not showing up, i don't know why. If i'm not using SetObjectMaterialText the light will show up along that little white dot. (example here with that little white dot: http://i.imgur.com/VQBlOl.png)
I only need that object to emit the light without being seen, i rep the first person who helps me solve this.
Thanks!
Object id 19281 represents that little white dot that emits light but i want to hide the texture of it.
I tried something like this:
pawn Код:
tempth = CreateObject(19281, x,y,z,rx,ry,rz);
SetObjectMaterialText(tempth, " ", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 28, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
I only need that object to emit the light without being seen, i rep the first person who helps me solve this.
Thanks!