Realistic Exit
Realistic Exit is a script designed to discourage players from exit the game in a prohibited manner. In the event of disconnection, the script make the player’s character sleeping while allowing other players to check his ID and the opportunity to attempt theft of their items (this feature can be disabled in config and only the ID of the player will be displayed). This unique feature promotes caution and player engagement, adding a strategic dimension to the gaming experience.
Compatibilty :
Framework : QBCore // ESX
Target : qb-target // ox_target
Database : ghmattimysql / oxmysql (if you have another script for database you can make it work by edit some lines in server/custom.lua)
Clothing scripts : “default” => (QBCore = qb-clothing - ESX = esx_skin) // “illenium-appearance” // “fivem-appearance” // “raid_clothes” // rcore_clothing // “custom” => (you must put your code in client/custom.lua)
Feature :
- When the player disconnect (you can make it work only if the player is dead) his body will do a sleep animation (like in the picture)
- The id of the player will be displayed in his sleeper body
- Others players can rob and carry the sleeper ped if you autorized it in the config
- The sleeper ped will be deleted when the original player will reconnect
Code is accessible | No |
Subscription-based | No |
Requirements | N/A |
Support | Yes |