Preventing removal silencer


(P4nth3r) #1

I got a small question.

I want to prevent the covert ops from removing his silencer, but I can’t find anything in the code that handles this.
Does anybody know where I can find it??

Thnx & Greetz Panther aka Way2Evil


(Jaquboss) #2

every weapon has it list in altweapon table
i think you will find it in bg_misc.c


(P4nth3r) #3

thnx jaquboss, I was looking in cg_weapons.c
=$

thnx & greetz Panther aka Way2Evil


(Jaquboss) #4

no problem, Also you could do it there too, but that would be ugly hack :chef: