• TTT Custom Jihad Sounds?
    1 replies, posted
Hey, so recently I came across a few posts about having custom sounds (bought via pointshop) to replace the Jihad (custom weapon source: [url]http://www.garrysmod.org/downloads/?a=view&id=33601[/url]) in TTT. I've tried multiple methods including GetNWInt and the following which seemed more convenient at the time: [code] if (SERVER) then if ITEM.IsOwned("leeroy") then timer.Simple(2, function() self:Asplode() end ) self.Owner:EmitSound( "ttt/leeroy.wav" ) end end [/code] Although, unfortunately the SWEP returned an error trying to index "ITEM" and failed to do anything other than playing the primary animation and resetting it. I was just wondering if there's any other way to fix this or has that function particularly been deleted? Thank you <3 PS: Full code I'm using: [url]http://pastebin.com/raw.php?i=eSX4ky3W[/url]
It's ITEM:IsOwned.
Sorry, you need to Log In to post a reply to this thread.