This commit is contained in:
Nordi98 2025-06-26 02:53:14 +02:00
parent b863bc9763
commit f653901eb9
33 changed files with 665 additions and 478 deletions

View file

@ -0,0 +1,12 @@
local ESX = GetResourceState('es_extended'):find('start') and exports['es_extended']:getSharedObject() or nil
if not ESX then return end
function Notification(msg)
ESX.ShowNotification(msg)
end
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function()
onPlayerLoaded()
end)

View file

@ -0,0 +1,11 @@
local QBCore = GetResourceState('qb-core'):find('start') and exports['qb-core']:GetCoreObject() or nil
if not QBCore then return end
function Notification(message, type)
QBCore.Functions.Notify(message, type)
end
RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
onPlayerLoaded()
end)