Performance improvments, enforce 2 space indent, vector3 coords

This commit is contained in:
ElPumpo
2019-07-16 11:07:28 +02:00
parent 6e9964a8e2
commit dd436587ae
12 changed files with 158 additions and 210 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
RegisterServerEvent('esx_clotheshop:saveOutfit')
AddEventHandler('esx_clotheshop:saveOutfit', function(label, skin)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local xPlayer = ESX.GetPlayerFromId(source)
TriggerEvent('esx_datastore:getDataStore', 'property', xPlayer.identifier, function(store)
local dressing = store.get('dressing')