im not understanding what the really means, could anyone help ?
Keys
, or a value inside keys
array does not exist.
this is part of the script that its talking about.
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustReleased(0, Keys['E']) then
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
if IsPlayerDead(closestPlayer) then
if closestPlayer ~= -1 and closestDistance <= 3.0 then
OpenBodySearchMenu(closestPlayer)
end
end
end
end
end)
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.