Multichar

On some multichar scripts, the esx event 'esx:playerLoaded' won't be triggered or not correctly. This Event is necessary so that msk_handcuffs can load the data stored in database.json.

So if you set Config.Debug = true and you get the following error or the player is not handcuffed anymore after relog then please add the following Event to your multichar after the character was selected.

Error

[msk_handcuffs] [Error] Player not found on esx:playerLoaded

Event

-- CLIENTSIDE
TriggerEvent('msk_handcuffs:setCuffStatus')

-- SERVERSIDE
TriggerClientEvent('msk_handcuffs:setCuffStatus', source)

Last updated