Published On Apr 14, 2022
Mein FiveM Scripts Shop:
» http://myscripts.eu/
ZapHosting: https://zap-hosting.com/myscripts
» 20% off using the code: myScripts-a-2452
Discord:
» http://discord.myscripts.eu/
E-Mail:
» [email protected]
Visual Studio Code:
» https://code.visualstudio.com/
FiveM Native Reference:
» https://runtime.fivem.net/doc/natives/
GitHub:
» https://github.com/Luis-spec
ESX Events:
ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
end)
local ESX = nil
TriggerEvent('esx:getSharedObject', function(obj)
ESX = obj
end)
ShowPictureNotification:
function showPictureNotification(icon, msg, title, subtitle)
SetNotificationTextEntry("STRING")
AddTextComponentString(msg);
SetNotificationMessage(icon, icon, true, 1, title, subtitle);
DrawNotification(false, true);
end