chooseSpawn
Client export to open the spawn selector
chooseSpawn
Manually opens the spawn selector UI. Use it from other resources like loading screens or character creators.
Usage
Call the export after the player has loaded:
exports["FS-SpawnSelector"]:chooseSpawn()Notes
Config.manuallyTriggeris not required to call this export.- Setting
Config.manuallyTrigger = truestops the UI from opening automatically, giving you full control over when to show it.
When to use
- After a loading screen finishes
- After selecting a character in a multi-character system
- From a manual command or interaction that should open the selector
Internal reference
The export simply proxies the internal chooseSpawn() function:
exports("chooseSpawn", function()
chooseSpawn()
end)You can trigger it from any external resource using the export shown above.
Returns
- void: No return value.