# ArrayKeys

TIP

  • arrayKeys(<array>)
  • Returns the keys of an array.

# Parameters

  • <array> The array to get its keys as array

# Example

1: $array$['Acsrel'] = 5000
2: $array$['Steve'] = 2500
3: $array$['Alex'] = 1000
4: $keys$ = arrayKeys($array$)
5: sendMessage($player$, $keys$)

# Output

[0 => "Acsrel", 1 => "Steve", 2 => "Alex"]
ON THIS PAGE