Update cocaine.lua
This commit is contained in:
1 parent
07fb3caf24
commit
bf40a0e864
1 file changed
+2
-2
+2
-2
@@ -35,7 +35,7 @@ RegisterNetEvent('coke:respawnCane', function(loc)
|
||||
}
|
||||
}
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:AddLocalEntity(CocaPlant[loc], options = options)
|
||||
exports.ox_target:AddLocalEntity(CocaPlant[loc], options = optionsox)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(CocaPlant[loc], {options = options, distance = 2.5})
|
||||
end
|
||||
@@ -74,7 +74,7 @@ RegisterNetEvent("coke:init", function()
|
||||
}
|
||||
}
|
||||
if Config.oxtarget then
|
||||
exports.ox_target:AddLocalEntity(CocaPlant[k], options = options)
|
||||
exports.ox_target:AddLocalEntity(CocaPlant[k], options = optionsox)
|
||||
else
|
||||
exports['qb-target']:AddTargetEntity(CocaPlant[k], {options = options, distance = 2.5})
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user