Hey guys.
I'm coding a SWEP for the TTT Gamemode.
When I have the SWEP equipped, and then switch to a crowbar, the SWEPS viewmodel disappears, as it should.
However, when I drop the weapon, and then switch to any other weapon, the viewmodel stays from the SWEP I dropped, and obviously the other SWEP I equipped (the crowbar) is there too.
Does anyone know why there is a duplicate viewmodel happening?
Here is a picture of the correct viewmodel:
[img]http://i.imgur.com/v6h1cVj.jpg[/img]
And here is a picture when it glitches when you drop it:
[img]http://i.imgur.com/pgFQ9B5.jpg[/img]
Bump?
You are not removing it in SWEP:OnDrop?
I actually figured this out. TTT doesn't use the native SWEP:OnDrop() function, it uses it's own function.
I had to remove it there, and not in SWEP:OnDrop()
Thanks!
Sorry, you need to Log In to post a reply to this thread.