Holdtype

Hi!How do i make the the holdtype shared on the guns? I’ve tried to move Swep.Holdtype to the shared.lua but as usual i’ve always done things wrong when it comes to lua :eng99: Help me please.

had same problem, what weapon base do you have?

Madcows

go to the weapon_mad_base - sniper - shotgun and search for holdtype and you will see stuffs like

if (serverside)
set.holdtype(holdtype)
end

remove the if serverside and remove 1x end after it.

i have no idea what you just said:wth: You have to make it more understandable for us noobs.

just remove the “if (serverside)” for the holdtype and you always have to remove a “end” when you have removed a “if”