Exports
Logout
Logoutexports['ak47_multicharacter']:Logout(source)-- Example: A custom bed script where sleeping logs the player out
RegisterNetEvent('my_custom_script:GoToSleep', function()
local src = source
-- Perform your save logic here...
-- Send player back to character selection
exports['ak47_multicharacter']:Logout(src)
end)Last updated