should handle network id based targeting add/remove

This commit is contained in:
MrNewb committed 2025-07-09 05:34:41 -04:00
1 parent 8ea43ea7ce
commit 5ea2d32b88
3 files changed
+45

No files matched your search

+15
View File
@@ -80,6 +80,21 @@ Target.AddGlobalVehicle = function(options)
})
end
---This will add a networked entity to the target system.
---@param netids table | number
---@param options table
Target.AddNetworkedEntity = function(netids, options)
options = Target.FixOptions(options)
qb_target:AddTargetEntity(netids, options)
end
---This will remove a networked entity from the target system.
---@param netids table | number
---@param optionNames string
Target.RemoveNetworkedEntity = function(netids, optionNames)
qb_target:RemoveTargetEntity(netids, optionNames)
end
---This will remove target options from all vehicles.
---@param options table
Target.RemoveGlobalVehicle = function(options)