Skip to content

Commit

Permalink
feat: select only plate in addPlayer (Qbox-project#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-michalak authored Jun 10, 2024
1 parent 2129092 commit f70d1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function public.addPlayer(src)
local citizenid = getCitizenId(src)
if not citizenid then return end

local vehicles = MySQL.query.await('SELECT * FROM player_vehicles WHERE citizenid = ?', { citizenid })
local vehicles = MySQL.query.await('SELECT plate FROM player_vehicles WHERE citizenid = ?', { citizenid })

local state = {}
local platesAssociations = {}
Expand Down

0 comments on commit f70d1f9

Please sign in to comment.