hey, i was wondering if there is anyway to add the Crowbar to teh point shop and add a skin to is E.g Dildo
Lol?
Yes.
You would have to have the 'Dildo' (HUURRR DURRR PENNISS WEAPON!!!) as its own weapon (e.g weapon_dildo)
Your pointshop file would be something along the lines of:
[lua]ITEM.Name = 'Shitty penis joke'
ITEM.Price = 300000
ITEM.Model = 'models/weapons/w_dildo.mdl'
ITEM.WeaponClass = 'weapon_dildo'
ITEM.SingleUse = false
function ITEM:OnEquip(ply)
ply:StripWeapon('weapon_zm_improvised')
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end
function ITEM:OnHolster(ply)
ply:StripWeapon(self.WeaponClass)
ply:Give('weapon_zm_improvised')
ply:SelectWeapon('weapon_zm_improvised')
end
function ITEM:ModifyClientsideModel( ... ) return ... end
[/lua]
Sorry, you need to Log In to post a reply to this thread.