• How to create a add.hook please help
    1 replies, posted
didn't know you can't post lua scrippting sorry!
Well, considering you posted no errors and didn't put your code in code tags, I'm going to go off the fact that it isn't working because this is a mess: [code] function SWEP:playerDeath() hook.Add("TTTEndRound", self.UnCloak(), function() ply:PlayerDeath() then self:UnCloak = true end) end [/code] I also don't know if you can add hooks in SWEPS so I'm going to go on a loose end and say to try this. [code] hook.Add("TTTEndRound", "UncloakMe", function() if self.conceal then self:UnCloak() end end) [/code]
Sorry, you need to Log In to post a reply to this thread.