2026-04-14 17:41:39 +02:00

15 lines
715 B
Lua

RegisterServerEvent('qb-radialmenu:server:RemoveBrancard')
AddEventHandler('qb-radialmenu:server:RemoveBrancard', function(PlayerPos, BrancardObject)
TriggerClientEvent('qb-radialmenu:client:RemoveBrancardFromArea', -1, PlayerPos, BrancardObject)
end)
RegisterServerEvent('qb-radialmenu:Brancard:BusyCheck')
AddEventHandler('qb-radialmenu:Brancard:BusyCheck', function(id, type)
local MyId = source
TriggerClientEvent('qb-radialmenu:Brancard:client:BusyCheck', id, MyId, type)
end)
RegisterServerEvent('qb-radialmenu:server:BusyResult')
AddEventHandler('qb-radialmenu:server:BusyResult', function(IsBusy, OtherId, type)
TriggerClientEvent('qb-radialmenu:client:Result', OtherId, IsBusy, type)
end)