diff --git a/server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua b/server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua index 5228dd171..08e3d09db 100644 --- a/server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua @@ -1,7 +1,6 @@ ESX = exports["es_extended"]:getSharedObject() -local oPlayer = false -local playerpos = false +local oPlayer, playerpos = false, false CreateThread(function() while true do @@ -97,7 +96,7 @@ CreateThread(function() end end) -local oldped +local oldped = {} function CanSlaughterPed(ped) if not IsPedAPlayer(ped)