This is a free and open-source FiveM script that makes a player's character lie down and "sleep" in their last location when they log off or disconnect from the server. It is designed to be a simple alternative to paid scripts with similar functionality.
✨ Key Features
Player Sleep State: When a player logs off or disconnects, their character model remains in the game world, lying down in the exact spot where they were last located.
Anti-Combat Logging: By leaving the character behind, the script helps discourage players from logging out to avoid roleplay situations or combat.
Carry & Move System: Other players can interact with a sleeping character, pick them up (carry them), and move them to a new location. A prompt (Press E) is used to drop the player.
Rob Offline Players: A feature that allows other players to rob items from the inventory of an offline character that is sleeping in the world.
Open Source: The script is completely free and its source code is available, allowing any server owner to edit, tweak, and customize its functionality to fit their server's needs.