Resource is Open Source Compatibility with ESX Compatibility with QB-Core Docs are here
VMS Spawnselector lets players choose where they spawn. Each location has its own camera preview, a name and an address, so players can see the spot before they pick it.
Features
- Five preset spawn locations: Mirror Park, Airport, Beach, Sandy Shores and Paleto Bay (add or change them in
config.lua) - Camera preview for each location
- Option that a player who died can only spawn at the last position
- Fixed weather and time during selection, with support for vSync, cd_easytime or qb-weathersync
- Hooks to hide and show your HUD while the menu is open
- Open the menu from other scripts with the client event
vms_spawnselector:openor the exportOpenSpawnSelector - Configurable notifications (vms_notify by default, ESX or QBCore notify possible)
- Translatable texts
Requirements
- ESX or QBCore
- oxmysql
Installation
- Place
vms_spawnselectorin your resources and addensure vms_spawnselectorto your server.cfg. - Set
Config.Coreand the core export for your framework inconfig.lua. - Call the event or export from your multicharacter or login script to open the selector.