Skip to content

Commit

Permalink
Prompts merge
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed Apr 1, 2022
1 parent ee64ceb commit c3d219a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@ local FingerPrintSessionId = nil

function CreatePrompts()
for k,v in pairs(Config.Locations['duty']) do
exports['qbr-prompts']:createPrompt('duty_prompt_' .. k, v, 0xF3830D8E, 'Toggle duty status', {
exports['qbr-core']:createPrompt('duty_prompt_' .. k, v, 0xF3830D8E, 'Toggle duty status', {
type = 'client',
event = 'qb-policejob:ToggleDuty',
args = {},
})
end

for k,v in pairs(Config.Locations['evidence']) do
exports['qbr-prompts']:createPrompt('evidence_prompt_' .. k, v, 0xF3830D8E, 'Open Evidence Stash', {
exports['qbr-core']:createPrompt('evidence_prompt_' .. k, v, 0xF3830D8E, 'Open Evidence Stash', {
type = 'client',
event = 'police:client:EvidenceStashDrawer',
args = { k },
})
end

for k,v in pairs(Config.Locations['stash']) do
exports['qbr-prompts']:createPrompt('stash_prompt_' .. k, v, 0xF3830D8E, 'Open Personal Stash', {
exports['qbr-core']:createPrompt('stash_prompt_' .. k, v, 0xF3830D8E, 'Open Personal Stash', {
type = 'client',
event = 'police:client:OpenPersonalStash',
args = {},
})
end

for k,v in pairs(Config.Locations['armory']) do
exports['qbr-prompts']:createPrompt('armory_prompt_' .. k, v, 0xF3830D8E, 'Open Armory', {
exports['qbr-core']:createPrompt('armory_prompt_' .. k, v, 0xF3830D8E, 'Open Armory', {
type = 'client',
event = 'police:client:OpenArmory',
args = {},
Expand Down

0 comments on commit c3d219a

Please sign in to comment.