Fearless Forums
Disallow acts when cuffed/tied - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: CityRP Server (https://fearlessrp.net/forumdisplay.php?fid=6)
+--- Forum: Suggestions (https://fearlessrp.net/forumdisplay.php?fid=7)
+---- Forum: Finished (https://fearlessrp.net/forumdisplay.php?fid=26)
+---- Thread: Disallow acts when cuffed/tied (/showthread.php?tid=62050)

Pages: 1 2


Disallow acts when cuffed/tied - Suarez - 07-05-2015

Title of Suggestion: Disallow acts when cuffed/tied

Description: When handcuffed or tied acts should be disabled as you cannot freely move your hands/body when cuffed or tied. i.e. if you're handcuffed, you can't do a sexy dance or wave at someone.

Why: It would be more realistic and less FailRP.

-Suarez


RE: Disallow acts when cuffed/tied - Davidson - 07-05-2015

+support Good suggestions, Suarez. It completely breaks immersion.


RE: Disallow acts when cuffed/tied - Voluptious - 07-05-2015

+support
Got the code ready, if this is approved il ship it over to Faust :)


RE: Disallow acts when cuffed/tied - Chumps - 07-05-2015

Just one and easy +Support


RE: Disallow acts when cuffed/tied - goigle! - 07-05-2015

(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


RE: Disallow acts when cuffed/tied - DVN - 07-05-2015

+Support

More realistic, nothing huge to amend code wise.


RE: Disallow acts when cuffed/tied - Freezak - 07-05-2015

+Support


RE: Disallow acts when cuffed/tied - Voluptious - 07-05-2015

(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).


RE: Disallow acts when cuffed/tied - MysteriaParade - 07-05-2015

+Support, kills the realism of an RP if your hostage/arrested person starts sexy posing


RE: Disallow acts when cuffed/tied - GRiiM - 07-05-2015

Definite +Support