forked from Simnation/Main
Update cl_main.lua
This commit is contained in:
parent
a3463ec82a
commit
b863bc9763
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue