Function.SqCollect.Player.NameMatches - VCMP-SqMod/SqMod GitHub Wiki
Collect into a container all the active SqPlayer instances where the name matches the specified mask.
- Aliases:
SqCollect.Player.TagMatches- 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 mask that should be compared with the name of each active SqPlayer instance.
-
negate
-
Return:
-
arrayAn array with all SqPlayer 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 -
functionSqCollect.Player.NameEquals -
functionSqCollect.Player.NameBegins -
functionSqCollect.Player.NameEnds -
functionSqCollect.Player.NameContains -
functionSqCollect.Player.NameMatches
No references available.