[ESX/QB] vms_spawnselector | Spawn Selector

:money_with_wings: BUY IT HERE: www.vames-store.com


Watch it here:

  • Compatible with ESX & QB-Core & QBOX
  • Compatible with multichars systems and without it.
  • Compatible with spawn points in front of your own home.
  • Ability to set up special points only for players with specific job.
  • Full support

Full view for configs on our script documentation:

image

Code is accessible Yes & No
Subscription-based No
Lines (approximately) Lua +175
Requirements ESX / QB-Core
Support Yes
3 Likes

Suggestion: Add a way to only show the spawn selection 1 time when player log in after a server restart.

I mean, instead of always that when a player log into the server the spawn selector is displayed, only the first time the player login after a server restart he would be able to select a spawn point.

1 Like

:computer: UPDATE 1.0.1

[/] Changed the player’s coordinates from above the camera to a position where the player can choose where to spawn while selecting spawn position
[+] Added Config.OnDeadOnlyLastPosition - if the player logged out while dead, he will only be able to select the previous position

1 Like

thanks, I will try to add such a possibility in the next update

1 Like

Top quality stuff from Vames once again!

1 Like

thank you very much :hugs:

1 Like

:computer: UPDATE 1.0.2

[/] Fixed problem with loading playerdata on QB-Core
[/] Fixed problem with displaying warning from ESX about callback request

Suggestion
if the player connects 10 hours later he can choose where he spawns again even if he has logged out dead

Is there are possibilty to spawn at houses? Like the normal qb-spawnselector

No, unfortunately there is currently no such option, but I have it saved for an update and it will probably be added soon

1 Like

nice i hope it come soon

:computer: UPDATE 1.0.3

[+] Added Config.UseHousingSpawns option - support for spawn points in front of one’s house - default done for QB-Houses and ESX Proparty 1.8.5+, ability to impelement custom housing system in config.client.lua & config.server.lua.
[+] Added to launch export and events the isFirstSpawn parameter which, when the value is true, will not display the last location option.
[+] Added Config.OnlyJobsSpawns - you can add special spawn points for people with specific jobs.

:computer: UPDATE 1.0.4

[+] Added Config.UseOnlyFirstJoinSelect, this allows the player to select his spawn location only once until the server restarts (this works on characters, so for each character he can select a position)
[+] Added support for qs-housing with Config.UseHousingSpawns

:computer: UPDATE 1.0.5

[/] Bug fix for QB-Core

:computer: UPDATE 1.0.6

[+] Added compatibility with ps-housing, bcs_housing.
[/] Compatibility has been improved with qs-housing on qb-core

2 Likes

:notebook_with_decorative_cover: UPDATE 1.0.7

[+] Adjusted spawn housing for qs-housing v3
[+] Added onPlayerSpawned function in config.client.lua with first spawn parameter, you can now launch the player for example vms_guidebook when he joins for the first time
[+] Added SV.getJailStatus function to config.server.lua it is compatible by default with esx_jail, esx-qalle-jail, mx_jail, qb-prisons, pickle_prisons, rcore_prisons and it allows no spawn selection by the player when he is in jail, also in config.lua you can disable this with the Config.CheckJail option and set the default spawn coordinates when in jail in Config.IsJailedTeleportOnCoords or set as nil, then it uses the spawn on the last location.
[/] Added returning no houses when you have no compatible house system and you have the option running
[/] Changed function format in config.server.lua from “exampleFunctionName()” to “SV.exampleFunctionName()” as in other vms resources