• GetModel returns also other things instead of a model
    1 replies, posted
I made a GetModel command, when I look at something, it returns the model. Now, when I don't look at the model, it returns as example the .bsp file of the map. If I look at a brush, it returns a number with a star infront of it, probably the entity number. How to fix it, check if it is an entity, but whats an entity like just an entity, I'm confused. Also, there are world bound models, like models that you can't move with the physgun, not sure how but whatever. How can I get model of these, if I look at world bound models they don't give me the model, they just return the .bsp instead of the model.
What you describe is normal and intentional, you don't need to and can't "fix it". As for static props, you cannot get their models through Lua really.
Sorry, you need to Log In to post a reply to this thread.