Thank you, I have contacted my server provider and have asked them to reinstall the CS:S content. Also, is this related to the instant reloading that occurs as well?
Basically, whenever I reload in my server, it's instant. When I try to drop a weapon or whatever it just floats in the air and this is the same thing that happens when I'm throwing a knife / discombobulator.
What is wrong? And how would I go about fixing it?
I'm not looking for a fix for the holdtype, you'll have to do that yourself. It works for every other weapon, so it's a problem with this specific one.
The VTF seems fine, but your VMT is wrong. Check out the VMT files that come with TTT, like icon_armor.vmt.
After looking at icon_armor and changing my icon to match that it works. Thanks for your help. It means a lot :)
Also, if you come up with a fix for the holdtype could you post it in this thread? The entire base of the weapon is that a traitor can have a weapon that looks like a crowbar but it's something different.
Okay, i've come up with more problems. I changed HoldType to melee, yet I still see this for some reason.
When I want it to look like this:
Also, when I converted my icon to VTF and VMT format, stuck it in VGUI/ttt, and then changed the code to use that icon, all it does is come up with a black box.
Here is my current code: (please realize that I'm extremely new to lua and I am trying to learn as fast as I can)
So basically I am making a traitor weapon that will allow the user to run faster and then slower. The fast and slow part is done but I get a few errors.
http://pastebin.com/aGd2yDe9
That's my code.
And the crowbar look is messed up, it looks like he's trying to aim with it. How would I go about making the crowbar look like the regular crowbar looks. (How he's like holding it out), Instead of him trying to shoot something with it.
Any help is appreciated.
Also, I made this icon: How would I about converting it for use with ingame pictures in the menu?