Exports

Server exports available in ak47_multicharacter.

Server

Logout

Logs a player out and returns them to character selection.

exports['ak47_multicharacter']:Logout(source)
Parameter Type Required Description
source number Yes Target player server ID

Example

RegisterNetEvent('custom_script:playerLogout', function()
    local src = source
    exports['ak47_multicharacter']:Logout(src)
end)