Author: Vital (Vitaly Pavlovich Ulyanov). Thanks for help to Seemann and wmysterio!
Description: A simple ragdoll mod for GTA IV. To switch ragdoll on or off press ‘Reload’ button while on foot and either unarmed or armed with a melee or throwable weapon.
Requirements: CLEO Redux 1.0.7 or newer.
Installation: Copy ‘Ragdoll mod’ folder to CLEO folder in GTA IV directory.
P.S. The script doesn't offer anything particularly new, I've made a similar one years ago using C# (ScriptHook), and now I used TypeScript (CLEO Redux) to create a new version. The mod is just for fun, while the code could be of interest to scripters who want to learn CLEO Redux possibilities. And, unlike my old mod, this one allows you to switch ragdoll on and off instead of enabling it for a short time.