mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add player.is_instant_destruction, .set_instant_destruction
This commit is contained in:
parent
005bcfb436
commit
2ba90625ce
5 changed files with 44 additions and 0 deletions
|
|
@ -63,6 +63,13 @@ player.set_infinite_items(bool)
|
|||
|
||||
Геттер и сеттер бесконечных предметов (не удаляются из инвентаря при использовании)
|
||||
|
||||
```lua
|
||||
player.is_instant_destruction() -> bool
|
||||
player.set_instant_destruction(bool)
|
||||
```
|
||||
|
||||
Геттер и сеттер мнгновенного разрушения блоков при активации привязки `player.destroy`.
|
||||
|
||||
```lua
|
||||
player.set_spawnpoint(playerid: int, x: number, y: number, z: number)
|
||||
player.get_spawnpoint(playerid: int) -> number, number, number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue