mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add player.is_loading_chunks, .set_loading_chunks
This commit is contained in:
parent
0940e899cf
commit
e153e1fbd7
6 changed files with 54 additions and 2 deletions
|
|
@ -70,6 +70,13 @@ player.set_instant_destruction(playerid: int, bool)
|
|||
|
||||
Getter and setter for instant destruction of blocks when the `player.destroy` binding is activated.
|
||||
|
||||
```lua
|
||||
player.is_loading_chunks(playerid: int) -> bool
|
||||
player.set_loading_chunks(playerid: int, bool)
|
||||
```
|
||||
|
||||
Getter and setter of the property that determines whether the player is loading chunks.
|
||||
|
||||
``` lua
|
||||
player.set_spawnpoint(playerid: int, x: number, y: number, z: number)
|
||||
player.get_spawnpoint(playerid: int) -> number, number, number
|
||||
|
|
|
|||
|
|
@ -70,6 +70,13 @@ player.set_instant_destruction(playerid: int, bool)
|
|||
|
||||
Геттер и сеттер мнгновенного разрушения блоков при активации привязки `player.destroy`.
|
||||
|
||||
```lua
|
||||
player.is_loading_chunks(playerid: int) -> bool
|
||||
player.set_loading_chunks(playerid: int, bool)
|
||||
```
|
||||
|
||||
Геттер и сеттер свойства, определяющего, прогружает ли игрок чанки вокруг.
|
||||
|
||||
```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