ESX

INSTALLATION GUIDE

  1. Import the SQL file called import.sql to your database.

  2. Go to es_extended/server/common.lua and paste this code at the end:

AddEventHandler('av_restaurant:ESXItem', function(data)
	local name = data['name']
	if not ESX.Items[name] then
		ESX.Items[name] = {
			label = data['label'],
			weight = data['weight'],
			rare = false,
			canRemove = true
		}
	end
end)

NOTE: Because of how ESX is made you need to wait for a server restart for items to work correctly.

Last updated