ox_target: canInteract params

This commit is contained in:
Linden committed 2022-10-02 20:23:01 +11:00
1 parent 07256a74a0
commit 341bc32925
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ exports.ox_target:addSphereZone({
event = 'ox_target:debug',
icon = 'fa-solid fa-circle',
label = '(Debug) Sphere',
canInteract = function(entity, coords, distance)
canInteract = function(entity, distance, coords, name)
return true
end
}
@@ -72,7 +72,7 @@ exports.ox_target:addBoxZone({
event = 'ox_target:debug',
icon = 'fa-solid fa-cube',
label = '(Debug) Box',
canInteract = function(entity, coords, distance)
canInteract = function(entity, distance, coords, name)
return true
end
}