• How to make the knife have infinite uses in TTT?
    1 replies, posted
I am trying to make a lua file that is exactly identical to weapon_ttt_knife.lua except it's called weapon_ttt_k.lua and it cannot be bought and has infinite uses. I want to use it for knife only fights on my server. Thanks a lot!
Well you're going to want to remove [lua]SWEP.CanBuy = {ROLE_TRAITOR}[/lua] from the code, that makes it so it can't be bought. And in the SWEP:StabKill function you want to remove the [lua]self:Remove()[/lua] part at the end
Sorry, you need to Log In to post a reply to this thread.