esx_zombiesystem icon indicating copy to clipboard operation
esx_zombiesystem copied to clipboard

Bug or i dont know

Open Cs4pi opened this issue 4 years ago • 1 comments

Hello. I installed this script and when i kill a zombie i cant loot its jast say me in the console: https://cdn.discordapp.com/attachments/518786358496722971/718907350399975475/unknown.png AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA (SCRIPT ERROR: @esx_zombiesystem-master/client/main.lua:505: attempt to index a nil value (global 'ESX') and that line is: ESX.Game.Utils.DrawText({x = pedX, y = pedY, z = pedZ + 0.2}, "~c~PRESS ~b~[E]~c~ TO SEARCH", 1, 4) Some of forums say how the problem probably there: ESX = nil

Citizen.CreateThread(function() while ESX == nil do TriggerEvent("esx:getSharedObject", function(obj) ESX = obj end) Citizen.Wait(0) end end)

RegisterNetEvent("esx:playerLoaded") AddEventHandler("esx:playerLoaded", function(xPlayer) PlayerData = xPlayer end) But i didnt think how there is any problem If you can solve it thanks :D

Cs4pi avatar Jun 08 '20 00:06 Cs4pi

Are you using any type of anticheat?

kFxDaKing avatar Jun 08 '20 10:06 kFxDaKing