Fix pickup

This commit is contained in:
Jérémie N'gadi
2017-08-26 09:03:48 +02:00
parent 0f32bbcf9c
commit 2772576df8
@@ -270,7 +270,7 @@ AddEventHandler('esx:spawnObject', function(model)
end)
RegisterNetEvent('esx:pickup')
AddEventHandler('esx:pickup', function(id, label, coords)
AddEventHandler('esx:pickup', function(id, label, player)
local ped = GetPlayerPed(GetPlayerFromServerId(player))
local coords = GetEntityCoords(ped)