Some fixes

This preventing me from get some console erros and have the cars saved in instances.
This commit is contained in:
Flávio J. Félix
2018-02-27 04:17:55 -03:00
committed by GitHub
parent c728ca6215
commit 77ceed00b1
+2 -2
View File
@@ -5,7 +5,7 @@ TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
RegisterServerEvent('esx_garage:setParking')
AddEventHandler('esx_garage:setParking', function(garage, zone, vehicleProps)
local _source = _source
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
if vehicleProps == false then
@@ -84,7 +84,7 @@ RegisterServerEvent('esx_garage:updateOwnedVehicle')
ESX.RegisterServerCallback('esx_vehicleshop:getVehiclesInGarage', function(source, cb, garage)
local _source = _source
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
MySQL.Async.fetchAll(