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
bool
The valuetrue
to negate the result of the comparison,false
otherwise. -
sensitive
bool
The valuetrue
to perform a case sensitive comparison,false
otherwise. -
value
string
The mask that should be compared with the name of each active SqPlayer instance.
-
negate
-
Return:
-
array
An 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.
-
function
SqCollect.Player.Active -
function
SqCollect.Player.TagEquals -
function
SqCollect.Player.TagBegins -
function
SqCollect.Player.TagEnds -
function
SqCollect.Player.TagContains -
function
SqCollect.Player.TagMatches -
function
SqCollect.Player.NameEquals -
function
SqCollect.Player.NameBegins -
function
SqCollect.Player.NameEnds -
function
SqCollect.Player.NameContains -
function
SqCollect.Player.NameMatches
No references available.