filename: | Texture or model of the entity. | ||||||||||
flags2: | LC A combination of the following flags:
|
||||||||||
layer: | Determines the rendering order; 0..999999 for sky entities and -999999..+999999 for view entities. |
you = ent_createlayer("gun.mdl",0,10);
you.x = 200;