Function.SqCollect.Vehicle.TagContains - VCMP-SqMod/SqMod GitHub Wiki
Collect into a container all the active SqVehicle instances where the tag contains the specified value.
- Aliases:
SqCollect.Player.TagContains- Signature:
(negate, sensitive, value);-
Parameters:
-
negate
boolThe valuetrueto negate the result of the comparison,falseotherwise. -
sensitive
boolThe valuetrueto perform a case sensitive comparison,falseotherwise. -
value
stringThe string value that should be searched for in the tag of each active SqVehicle instance.
-
negate
-
Return:
-
arrayAn array with all SqVehicle instances that matched the specified criteria.
-
-
Throws:
- This function may throw errors if any element fails to be appended to the array (most likely due to memory limitations).
No remarks available.
No example available.
-
functionSqCollect.Player.Active -
functionSqCollect.Player.TagEquals -
functionSqCollect.Player.TagBegins -
functionSqCollect.Player.TagEnds -
functionSqCollect.Player.TagContains -
functionSqCollect.Player.TagMatches
No references available.