Disallow acts when cuffed/tied
#8
(07-05-2015, 04:54 PM)Goigle Wrote:
(07-05-2015, 09:54 AM)Voluptious Wrote: +support
Got the code ready, if this is approved il ship it over to Faust Smile
+support
I got the code "ready" too Tounge

Code:
function GM:PlayerShouldTaunt(ply, actid)
    if ply:IsHandcuffed()
        return false
    end
    return true
end
Replace ply:IsHandcuffed() with code that determines if the player is handcuffed
Well, it's close, but you got the main idea down (use hooks, not GM: calls).
[Image: FpROeEz.png]
Barkles is attempting to sleep : )


Messages In This Thread
Disallow acts when cuffed/tied - by Suarez - 07-05-2015, 09:31 AM
RE: Disallow acts when cuffed/tied - by Davidson - 07-05-2015, 09:33 AM
RE: Disallow acts when cuffed/tied - by goigle! - 07-05-2015, 04:54 PM
RE: Disallow acts when cuffed/tied - by Voluptious - 07-05-2015, 11:21 PM
RE: Disallow acts when cuffed/tied - by Chumps - 07-05-2015, 10:31 AM
RE: Disallow acts when cuffed/tied - by DVN - 07-05-2015, 05:00 PM
RE: Disallow acts when cuffed/tied - by Freezak - 07-05-2015, 08:00 PM
RE: Disallow acts when cuffed/tied - by GRiiM - 07-05-2015, 11:24 PM
RE: Disallow acts when cuffed/tied - by Mustang - 07-05-2015, 11:29 PM
RE: Disallow acts when cuffed/tied - by Wood - 07-06-2015, 05:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)