updateSafe
Information
Cette callback peut être utilisée pour mettre à jour les données d'un coffre.
ESX.TriggerServerCallback('sb_safe:updateSafe', function(success)
-- ...
end, data, safeId)
Paramètre | Type | Description |
---|---|---|
data | Array | Les données |
safeId | Integer | L'identifiant du coffre |
Les données
Clé | Type | Description | Optionnel |
---|---|---|---|
owner | String | L'identifiant du joueur | ✓ |
job | String | Le nom du job | ✓ |
label | String | Le nom du coffre | |
pin | String | Le code PIN | ✓ |
maxWeight | Integer | Le poids maximum | |
coords | Vector3 | Les coordonnées | |
interactRadius | Float | La distance d'interaction | |
bucket | Integer | Le bucket |
Retourne: Boolean