• Hold Type
    2 replies, posted
So i making a swep for my rp server, and basicly it uses a Coffee Cup model from gta, and i cant find any list of hold types for the [code] SWEP.HoldType = "" [/code], and i i dont know which one would be best for the player to look like their holding a cup of coffee, what to do?
SWEP.HoldType is not used by the game, you must call weapon:SetHoldType() at some point in your SWEP, usually it is done in SWEP:Initialize as self:SetHoldType( self.HoldType ) which makes SWEP.HoldType work in that SWEP. As for the list: [url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/base/entities/weapons/weapon_base/sh_anim.lua#L3-L21[/url]
Oh XD Thanks i finally have a nice looking swep :P
Sorry, you need to Log In to post a reply to this thread.