mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Fix pickup
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user