forked from Simnation/Main
Update server.lua
This commit is contained in:
parent
a3ed8cd4e0
commit
a700576bb0
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@ local test_vari = {}
|
|||
|
||||
RegisterServerEvent('mh_garage:setMods')
|
||||
AddEventHandler('mh_garage:setMods', function(mods)
|
||||
print(json.encode(mods))
|
||||
if test_vari ~= nil then
|
||||
if test_vari then
|
||||
for k, v in pairs(test_vari) do
|
||||
if v.plate ~= mods.plate then
|
||||
MySQL.query("SELECT * FROM player_vehicles WHERE plate = ?", {mods.plate}, function(rs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue