1
0
Fork 0
forked from Simnation/Main

Update cl_main.lua

This commit is contained in:
Nordi98 2025-06-26 02:48:12 +02:00
parent a3463ec82a
commit b863bc9763

View file

@ -12,8 +12,9 @@ CreateThread(function()
for k,v in pairs(Config.Printers) do
Props[#Props+1] = makeProp({coords = v.coords, prop = v.prop}, 1, false)
local name = 'Printers'..k
Targets[name] =
exports['qb-target']:AddBoxZone(name, v.coords, 2.0, 2.0, {
-- Vereinfachte Target-Option ohne Abhängigkeit von QBCore.Shared.Jobs
Targets[name] = exports['qb-target']:AddBoxZone(name, v.coords, 2.0, 2.0, {
heading = v.coords.w,
debugPoly = Config.Debug,
minZ = v.coords.z - 1,
@ -32,6 +33,7 @@ CreateThread(function()
end
end)
-- Events
RegisterNetEvent('moon-printers:client:UsePaperDocument', function(ItemData)