A versatile and easy-to-configure FiveM script that enhances your server by limiting the number of consecutive jumps a player can perform before applying a ragdoll effect. Perfect for roleplay servers, this script helps maintain realistic player behavior and adds an extra layer of control for server administrators.
Features:
- Configurable maximum jump limit before ragdoll is triggered.
- Customizable cooldown time between jumps.
- Adjustable reset time to clear the jump count.
- Configurable duration for the ragdoll effect.
- Optional debug mode to track player actions and ensure smooth operation.
Configuration Options:
maxJumps: Maximum allowed jumps before ragdoll (default: 2).resetTime: Time in milliseconds before reset (default: 5000 ms).jumpCooldown: Cooldown time between jumps in milliseconds (default: 1000 ms).ragdollTime: Time in milliseconds for the ragdoll effect (default: 1000 ms).debug: Enable or disable debug messages (default: true).
Installation:
- Download the script and place the
Heimel_JumpLimitfolder in yourresourcesdirectory. - Add
start Heimel_JumpLimitto yourserver.cfg. - Customize the
config.luafile to suit your server’s needs.
Feel free to reach out on the forum for any support or suggestions! Enjoy your improved server dynamics with Heimel_JumpLimit.