This repository was archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathqbtarget.lua
More file actions
40 lines (40 loc) · 1.46 KB
/
qbtarget.lua
File metadata and controls
40 lines (40 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
function Qb_target( private, entity )
exports["qb-target"]:AddTargetEntity(entity, {
options = {
{
icon = "fas fa-box",
label = "Open Container",
action = function() OpenContainer(private, entity) end
},
{
icon = "fas fa-box",
label = "Change Password",
action = function() ChangePassword(private, entity) end
},
{
icon = "fas fa-box",
label = "Transfer Ownership",
action = function() TransferOwnership(private, entity) end
},
{
icon = "fas fa-box",
label = "Delete Container",
--canInteract = function() return SuperUser() end,
action = function() DeleteContainer(private, entity) end
},
{
icon = "fa-solid fa-arrows-up-down-left-right",
label = "Move Container",
canInteract = function() return SuperUser() end,
action = function() MoveContainer(private, entity) end
},
{
icon = "fa-solid fa-scissors",
label = "Boltcutter (Police)",
canInteract = function() return HasAccessToBoltCutter() end,
action = function() BoltCutter(private, entity) end
}
},
distance = 1.0
})
end