Aller au contenu principal

CreateSafe

Information

Cet export peut être utilisé pour créer un coffre.


local success <const> = exports['SnapBack_safe']:CreateSafe(data)
if success then
-- Le coffre a été créé
else
-- Le coffre n'a pas été créé
end
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: Boolean | Si le coffre a bien été créé