Skip to content

Commit

Permalink
fix: lowercasing citizenid in qbx_vehicles exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Jun 17, 2024
1 parent 7e7cf96 commit a37f82c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ RegisterNetEvent('qbx_vehicleshop:server:buyShowroomVehicle', function(vehicle)
local plate = generateUniquePlate()
local vehicleId = exports.qbx_vehicles:CreatePlayerVehicle({
model = vehicle,
citizenId = player.PlayerData.citizenid,
citizenid = player.PlayerData.citizenid,
props = {
plate = plate
}
Expand Down Expand Up @@ -351,7 +351,7 @@ RegisterNetEvent('qbx_vehicleshop:server:sellShowroomVehicle', function(data, pl

local vehicleId = exports.qbx_vehicles:CreatePlayerVehicle({
model = vehicle,
citizenId = cid,
citizenid = cid,
props = {
plate = plate
}
Expand Down
2 changes: 1 addition & 1 deletion server/storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
function InsertVehicleEntityWithFinance(request)
local vehicleId = exports.qbx_vehicles:CreatePlayerVehicle({
model = request.insertVehicleEntityRequest.model,
citizenId = request.insertVehicleEntityRequest.citizenId,
citizenid = request.insertVehicleEntityRequest.citizenId,
props = {
plate = request.insertVehicleEntityRequest.plate
}
Expand Down

0 comments on commit a37f82c

Please sign in to comment.