Script Snippets
Renewed Phone Compatibility
RegisterNetEvent('qb-phone:server:sendNewMailToOffline', function(citizenid, mailData)
TriggerEvent('qb-phone:server:sendNewMail', mailData, citizenid)
end)ESX 1.9+ getSharedObject Compatibility
Step 1:
AddEventHandler('esx:getSharedObject', function(cb)
cb(ESX)
end)Step 2:
AddEventHandler('esx:getSharedObject', function(cb)
cb(ESX)
end)QBPhone (Using Export to send mail to offline)

More snippets to come...
Last updated