# Array

TIP

  • array(<expressions>...)
  • Returns an array with the expressions passed to the function's parameters.

# Example

1: $array$ = array($player$, 'x' => $x$, $y$, $z$)
2: sendMessage($player$, 'The array is: ' + $array$)
3: sendMessage($player$, 'X value:' + $array$['x'])