Skip to main content

Exports

Client exports available from wasabi_spawn.

Client Exports​

isUIOpen​

Returns whether the spawn selector UI is currently open.

local uiOpen = exports.wasabi_spawn:isUIOpen()

open​

Opens the spawn selector manually with custom data.

exports.wasabi_spawn:open({
newCharacter = false,
spawns = {
{
id = 'police',
title = 'Police Station',
subtitle = 'Mission Row',
description = 'Spawn at Mission Row Police Station.',
coords = vector4(428.78, -985.59, 30.71, 5.56),
cameraCoords = vector4(409.9, -984.15, 34.24, 268.18),
showAtFirstSpawn = true,
},
},
})