Take your FiveM server experience to the next level with our Community Service Script! This resource allows administrators to assign community service tasks to players through a robust, customizable system compatible with the most popular frameworks.
✨ Main Features:
Task Assignment: Use the command /comserve [ID] [Tasks] [Reason] to assign community service with a specific number of tasks and a custom reason.
Easy Release: End the service with /endcomserve [ID] and restore the player to their original state.
Uniform Management: Automatically applies a work uniform (orange vest, pants, boots) during service and restores original clothes afterward. Compatible with illenium-appearance, qb-clothing, and native fallback.
Full Compatibility: Works seamlessly with ESX and QBCore/QBX, automatically detecting the active framework.
Interactive Tasks: Players complete tasks at marked locations with animations (e.g., sweeping) and dynamic blips.
Persistence: If a player disconnects or tries to escape, the service is saved and resumes upon return.
Notifications & Discord: Integrates in-game notifications and Discord reports via webhook for administrative tracking.
🔧 Easy Configuration:
Set the framework (ESX or QB, QBX) and uniforms in config.lua.
Customize service locations, restriction radius, and animation durations.
Compatible with clothing systems like illenium-appearance or qb-clothing, with a robust fallback for servers without these resources.
🎮 Immersive Experience:
Players are teleported to the service area and receive a distinctive uniform.
Escaping adds additional tasks as a penalty.
Original clothes are restored upon completing the service, ensuring a smooth experience.
📜 Available Commands:
/comserve <id> <tasks> [reason] — Assign a community service task to a player.
/endcomserve <id> — Manually end a community service session.