[ESX Legacy] ESX Multicharacter

I experienced the same issue will be providing enough info in a day or two.

Didn’t get time today but while looking through the code I think this guy is the problem maker.
Btw using Onesync Legacy

Citizen.CreateThread(function()
			local playerPool = {}
			while hidePlayers do
				local players = GetActivePlayers()
				for i=1, #players do
					local player = players[i]
					if player ~= PlayerId() and not playerPool[player] then
						playerPool[player] = true
						NetworkConcealPlayer(players[player], true, true)
					end
				end
				Citizen.Wait(500)
			end
			for i=1, #playerPool do
				NetworkConcealPlayer(playerPool[i], false, false)
			end
		end)

Yep can see a few issues in that. Try

		Citizen.CreateThread(function()
			local playerPool = {}
			while hidePlayers do
				local players = GetActivePlayers()
				for i=1, #players do
					local player = players[i]
					if player ~= PlayerId() and not playerPool[player] then
						playerPool[player] = true
						NetworkConcealPlayer(player, true, true)
					end
				end
				Citizen.Wait(500)
			end
			for k in pairs(playerPool) do
				NetworkConcealPlayer(k, false, false)
			end
		end)
	end

I think it fixed it, thanks btw push it to the github.

Hello, is there anyway to change the identifier from rockstar license to steam id as have problem with people in same household being given same licenses(they have sepereate copies and accounts) but cant seem to find a fix to that

It uses the ESX Legacy function to retrieve an identifier. I really don’t suggest Steam, and I can’t see how different copies of GTA would have the same license.

If you insist on changing it, modify what ESX is looking for.

Someone helped fixed my problem, so no longer need to change it now but i i will link to what i had to do!!
So i had used my gf laptop with my rockstar before she then brought and used it on there and was giving her my rockstar license (im trying to explain it as best as i can

wow… just wow… and it was about time i updated from 1.2 to legacy…
this multi-char brings tears of joy to my eyes…
bravo!

hello I want to use es_admin2 but i can’t change the table row identifier, i need identifier for put my steam ID there .

How I can change it?

why is there no wiki or support on how to use and setup relogging correctly.

or im i just confused?

Literally in the read me. Every resource in the official esx-legacy repo was also modified for repo support.

do just say put this in Not telling how to use it in a script

Look at the resource, which is open source, and you will easily see that there are events as well as a command for relogging.


so just put this in and it solve its self ?
That info is what i getting

Couldnt find a whole lot on this issue, but i am unsure of where to go from here:

Basically when i create a character, after character creation i get stuck like this Screenshot - 7ac35ae33e15ce4109a8d8bff66bcf64 - Gyazo

There are no server side errors, or client side errors.

I have no scripts that mess with spawns aside multichar and spawnmanager

i have gone over my ENSURE order with other server owners who use this same set up, and that doesnt seem to be the cause

i have an up to date ESX LEGACY version, and an up to date multichar

I am unfrotuantely at a loss for what the issue may be. any thoughts?

No clue.