Aller au contenu principal

createSafe

Information

Cette callback peut être utilisée pour créer un coffre.


ESX.TriggerServerCallback('sb_safe:createSafe', function(safeId)
-- ...
end, data)
ParamètreTypeDescription
dataArrayLes données

Les données

CléTypeDescriptionOptionnel
ownerStringL'identifiant du joueur
jobStringLe nom du job
labelStringLe nom du coffre
pinStringLe code PIN
maxWeightIntegerLe poids maximum
coordsVector3Les coordonnées
interactRadiusFloatLa distance d'interaction
bucketIntegerLe bucket

Retourne: Integer | L'identifiant du coffre