Basically, I want to change the player model material to one of the invisible ones upon use of a TTT swep. Is that possible?
EDIT: I found [url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb286.html] this. [/url]
How do I get the player model as a variable in LUA though?
The player model's material can be changed simply by setting the material of the player entity.
[CODE]ply:SetMaterial('path/to/material')[/CODE]
and this works with TTT fine?
As long as the model only uses ONE texture, it will work fine on any gamemode.
Sorry, you need to Log In to post a reply to this thread.