Answers for "how to convert old esx to new one fivem"

1

fivem esx init

ESX = nil
playerData = nil
Citizen.CreateThread(function()
	while ESX == nil do
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
		Citizen.Wait(0)
	end
	playerData = ESX.GetPlayerData()
end)
Posted by: Guest on December-05-2020

Code answers related to "how to convert old esx to new one fivem"

Browse Popular Code Answers by Language