Update cocaine.lua
This commit is contained in:
1 parent
a8633c2884
commit
4db34e5f50
1 file changed
+2
-2
+2
-2
@@ -29,7 +29,7 @@ RegisterNetEvent('coke:respawnCane', function(loc)
|
|||||||
icon = "fas fa-hand",
|
icon = "fas fa-hand",
|
||||||
label = "pick Cocaine",
|
label = "pick Cocaine",
|
||||||
distance = 2.5,
|
distance = 2.5,
|
||||||
onselect = function()
|
onSelect = function()
|
||||||
if not pick(loc) then return end
|
if not pick(loc) then return end
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@ RegisterNetEvent('coke:respawnCane', function(loc)
|
|||||||
if Config.oxtarget then
|
if Config.oxtarget then
|
||||||
exports.ox_target:AddLocalEntity(CocaPlant[loc], optionsox)
|
exports.ox_target:AddLocalEntity(CocaPlant[loc], optionsox)
|
||||||
else
|
else
|
||||||
exports['qb-target']:AddTargetEntity(CocaPlant[loc], {options = options, distance = 2.5})
|
exports['qb-target']:addTargetEntity(CocaPlant[loc], {options = options, distance = 2.5})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in new issue
Block a user