Skip to content

Commit

Permalink
fix(server/main): return netId
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Apr 6, 2024
1 parent e0d2dec commit 72454cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ version '1.0.0'

shared_scripts {
'@ox_lib/init.lua',
'@qbx_core/modules/utils.lua',
'@qbx_core/modules/lib.lua',
'@qbx_core/shared/locale.lua',
'locales/en.lua',
Expand Down
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local function nearTaxi(src)
end

lib.callback.register('qb-taxi:server:spawnTaxi', function(source, model, coords)
local _, veh = qbx.spawnVehicle({
local netId, veh = qbx.spawnVehicle({
model = model,
spawnSource = coords,
warp = GetPlayerPed(source --[[@as number]]),
Expand Down

0 comments on commit 72454cd

Please sign in to comment.