Hello, sometimes one find some incredible problems :-(
I need to load an entity (MDL) but I don't want to show it immediately.
I used the following code:
ENTITY* wheelShadow = ent_create("buggy.mdl", vector(30, -35, -15), NULL);
wheelShadow.flags2 &=~SHOW;
wheelShadow.flags &=~SHOW;
The problem is the entity is always shown in the screen! Even if I eliminated SHOW flag. I even tried:
ENTITY* wheelShadow = ent_create("buggy.mdl", vector(30, -35, -15), NULL);
wheelShadow.flags2 = 0;
wheelShadow.flags = 0;
But I got the same result. Can you help me? Why I cannot hide the entity?
Thank you for your help!