# UnSet

TIP

  • unSet(<variable>)
  • Undefines a varaible that's already defined, or removes a key from an array.

# Parameters

  • <variable> The variable to undefine or the key to remove from an array

# Example

1: $array$ = array('Acsrel', 'Steve')
2: unSet($array$[0])
3: sendMessage($player$, $array$)
4: unSet($array$)

# Output

[1 => "Steve"]
ON THIS PAGE