[HEAVY WIP] Ports TG's gun code. 

Just a small PR, move along please.
You should restore those vars, they are used by the hostage system.