scoreboard_remove(obj, key) will remove the key from the objective. Fixes #255
This commit is contained in:
1 parent
714bf1ce19
commit
5bb5f372b6
3 files changed
+51
-29
No files matched your search
@@ -17,9 +17,12 @@ scoreboard_add('counter')
|
||||
scoreboard_add('lvl','level')
|
||||
</pre>
|
||||
|
||||
### `scoreboard_remove(objective)`
|
||||
### `scoreboard_remove(objective)` `scoreboard_remove(objective, key)`
|
||||
|
||||
Removes an objective. Returns `true` if objective has existed and has been removed.
|
||||
Removes an entire objective, or an entry in the scoreboard associated with the key.
|
||||
Returns `true` if objective has existed and has been removed, or previous
|
||||
value of the scoreboard if players score is removed. Returns `null` if objective didn't exist, or a key was missing
|
||||
for the objective.
|
||||
|
||||
### `scoreboard_display(place, objective)`
|
||||
|
||||
|
||||
Reference in new issue
Block a user