Skip to content

Commit

Permalink
Update storage.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 authored Mar 3, 2024
1 parent 2710300 commit 52ab6cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
---@field plate string

---@param request InsertVehicleEntityRequest
---@return integer vehicleId
function InsertVehicleEntity(request)
exports.qbx_vehicles:CreateVehicleEntity({
return exports.qbx_vehicles:CreateVehicleEntity({
citizenId = request.citizenId,
model = request.model,
plate = request.plate,
state = 0
})
return vehicleId
end

---@class VehicleFinanceServer
Expand Down Expand Up @@ -116,4 +116,4 @@ end
---@param vehicleId integer
function DeleteVehicleEntity(vehicleId)
exports.qbx_vehicles:DeleteEntityById(vehicleId)
end
end

0 comments on commit 52ab6cc

Please sign in to comment.