add player.is_loading_chunks, .set_loading_chunks

This commit is contained in:
MihailRis
2024-12-24 10:35:09 +03:00
parent 0940e899cf
commit e153e1fbd7
6 changed files with 54 additions and 2 deletions
+7
View File
@@ -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
+7
View File
@@ -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