Css mounted, still have crotch guns on custom weapons?

I installed a gun that I got from the workshop and It is a crotch gun when viewed by another person. Any Ideas on how to fix this? (the gamemode is TTT)

it’s because the weapon model is not rigged proerply

Any Ideas of how I can fix it?
There is a simple script here >>> http://forum.facepunch.com/showthread.php?t=1299651

but this code makes it wierd to drop the gun. Im not a good coder so Im not sure what to do to the code to fix it :L

EDIT: Tell the people having the issue to read this guide.

^ Not the problem

Its solved anyways, I made my own code.