ESX Identity -> First Spawn


I’m having some trouble coming to terms with defining the first spawn and calling it through ESX Identity. I’ve managed to trigger an even where by it opens a spawn menu, however I want to be able to define a specific spawn location for first time spawns in the server.

The below script is what I currently have. This (for all users - first spawns or existing users) opens a spawn menu. I want to set something so that new users (first spawns on that specific character) are spawned to a specific location without the option for the spawn selector).

Appreciate any help in advance…

RegisterNUICallback('register', function(data, cb)
  myIdentity = data
  TriggerServerEvent('esx_identity:setIdentity', data)
  Wait (500)


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.