Common questions

Does it work with other phones than QB-PHONE ?

Yes You can, All you have to do is write the notification mail function or event in the config.lua:

function SendUberEatsDeliveryMail(id, name, package)
	TriggerServerEvent('qb-phone:server:sendNewMail', {
        sender = name,
        subject = 'Delivery '..package,
        message = 'Hey, if you are interested we have a pending delivery with id : '..id.." for you.",
        button = {}
    })
end
Can I use Other Emotes ?

Yes You can export or trigger Any Emotes You want

No need to change anything in here, if you are using rpemotes.

function PlayUberEatsEmote(emote)
	if emote == "c" then
		-- emote = "cancel" for example
		-- Replace it with the Cancel emote you want 
		-- Replace it with the emote you want
	end
	
	-- the others are in the config

	-- You can use any exports or trigger any event you want to...
	TriggerEvent('animations:client:EmoteCommandStart', {emote})
end

Problem with rpemotes !

if you have any problems with rpemotes make sure that you have changed the framework on its config.lua (line 58 ) to this

    -- Used for few framework dependent things. Accepted values: "qb-core", false
    Framework = 'qb-core',

Last updated