Common questions

Can I use it for specific job ?

For this reason we left the server.lua not encrypted, sou you can use a specific job to open the UI, don't forget to disable the command in that case.

ESX.RegisterUsableItem('ubereatstablet', function(source)
  local xPlayer = ESX.GetPlayerFromId(source)
  TriggerClientEvent('zat-ubereats:client:UseUberEatsTab', source)
end)
Can I use my custom notification instead of the default QBCore ?

Yes, you can in the config.lua

function Notify(text, type)
	ESX.ShowNotification(text, type) 	-- change it with the notification you are using
end

function SendUberEatsDeliveryMail(id, name, package)
	ESX.ShowNotification('Hey, if you are interested we have a pending delivery of '.. package ..' with id : '..id.." for you. Kind regards, "..name, "success")
end
Can I Use Other Emotes ?

Yes you can use any emotes menu you want, all you need is changing this function into your requirements in the config.lua

function CancelEmote()
	exports["rpemotes"]:EmoteCancel(true)
end

function StartEmote(emotename)
	exports["rpemotes"]:EmoteCommandStart(emotename)
end

Last updated