fix: AddGlobalPed

This commit is contained in:
SwagDaddyBrad committed 2025-07-15 22:28:30 -04:00
1 parent ec0299bccc
commit 2be21e0264
1 file changed
+4 -1
+4 -1
View File
@@ -61,7 +61,10 @@ end
---@param options table
Target.AddGlobalPed = function(options)
options = Target.FixOptions(options)
qb_target:AddGlobalPed(options)
qb_target:AddGlobalPed({
options = options,
distance = options.distance or 1.5
})
end
---This will remove target options from all peds. This is useful for when you want to remove target options from all peds.