Skip to content

Commit

Permalink
1.0.4 (#3)
Browse files Browse the repository at this point in the history
* Update fxmanifest.lua

* Update fxmanifest.lua

* fix blips

* Update main.lua
  • Loading branch information
TonybynMp4 authored Aug 2, 2023
1 parent f2ca369 commit d3833e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 1 addition & 3 deletions client/main.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
QBCore = exports['qbx-core']:GetCoreObject()

local classes = { Lang:t('classes.compact'), Lang:t('classes.sedan'), Lang:t('classes.suv'), Lang:t('classes.coupe'), Lang:t('classes.muscle'), Lang:t('classes.sports_classic'), Lang:t('classes.sports'), Lang:t('classes.super'), Lang:t('classes.motorcycle'), Lang:t('classes.offroad'), Lang:t('classes.industrial'), Lang:t('classes.utility'), Lang:t('classes.van'), Lang:t('classes.service'), Lang:t('classes.military'), Lang:t('classes.truck') }
local blips, radiuses, DispatchDisabled = {}, {}, false

Expand Down Expand Up @@ -220,7 +218,7 @@ end)
RegisterNetEvent("qbx-dispatch:client:AddBlip", function(coords, data, CallId)
if DispatchDisabled then return end
local PlayerData = QBCore.Functions.GetPlayerData()
if not data.jobs and not CheckJob(data.jobs, PlayerData.job) then return end
if not data.jobs or not CheckJob(data.jobs, PlayerData.job) then return end
if not (not Config.OnlyOnDuty or PlayerData.job.onduty) then return end
local alpha = 255
local radiusAlpha = 128
Expand Down
12 changes: 8 additions & 4 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
fx_version 'cerulean'
game 'gta5'

version '1.0.3'

version '1.0.4'

shared_scripts {
'@qbx-core/import.lua',
'@ox_lib/init.lua',
'@qbx-core/shared/locale.lua',
'locales/en.lua',
'locales/*.lua',
'config.lua',
}

modules {
'qbx-core:core'
}

client_scripts {
'client/*.lua'
}
Expand All @@ -31,7 +35,7 @@ files {

dependencies {
'ox_lib',
'ox_inventory'
}

lua54 'yes'
lua54 'yes'
use_experimental_fxv2_oal 'yes'
1 change: 0 additions & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
local QBCore = exports['qbx-core']:GetCoreObject()
local calls = {}

RegisterServerEvent("qbx-dispatch:server:AddCall", function(info)
Expand Down

0 comments on commit d3833e9

Please sign in to comment.