• Need some help with world models (again)
    5 replies, posted
So this time i need some code that would make the SWEP.WorldModel invisble. I don't want to use SWEP.ShowWorldModel, i simply want code that sets the current world models alpha to 0.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/SetNoDraw]Entity:SetNoDraw[/url]
[QUOTE=geferon;50390956][img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/SetNoDraw]Entity:SetNoDraw[/url][/QUOTE] Could you please give me an example of how this would work in a swep?
[QUOTE=BlackSnow;50390995]Could you please give me an example of how this would work in a swep?[/QUOTE] [CODE] some_swep:GetWeaponWorldModel():SetNoDraw( true ) [/CODE] I think would work
[QUOTE=MPan1;50393834][CODE] some_swep:GetWeaponWorldModel():SetNoDraw( true ) [/CODE] I think would work[/QUOTE] Might be stupid, but do i replace some_swep with my sweps entity name? (m9k_vp70 for example)
[QUOTE=BlackSnow;50395130]Might be stupid, but do i replace some_swep with my sweps entity name? (m9k_vp70 for example)[/QUOTE] self
Sorry, you need to Log In to post a reply to this thread.