mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
Merge branch 'main' into curl
This commit is contained in:
commit
449604dc1a
2 changed files with 16 additions and 16 deletions
|
|
@ -43,29 +43,29 @@ player.get_inventory(playerid: int) -> int, int
|
||||||
Returns player inventory ID and selected slot index (0-9)
|
Returns player inventory ID and selected slot index (0-9)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_flight() -> bool
|
player.is_flight(playerid: int) -> bool
|
||||||
player.set_flight(bool)
|
player.set_flight(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Getter and setter for player flight mode
|
Getter and setter for player flight mode
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_noclip() -> bool
|
player.is_noclip(playerid: int) -> bool
|
||||||
player.set_noclip(bool)
|
player.set_noclip(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Getter and setter for player noclip mode (collisions disabled)
|
Getter and setter for player noclip mode (collisions disabled)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_infinite_items() -> bool
|
player.is_infinite_items(playerid: int) -> bool
|
||||||
player.set_infinite_items(bool)
|
player.set_infinite_items(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Getter and setter for infinite items (not removed from inventory after use)
|
Getter and setter for infinite items (not removed from inventory after use)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_instant_destruction() -> bool
|
player.is_instant_destruction(playerid: int) -> bool
|
||||||
player.set_instant_destruction(bool)
|
player.set_instant_destruction(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Getter and setter for instant destruction of blocks when the `player.destroy` binding is activated.
|
Getter and setter for instant destruction of blocks when the `player.destroy` binding is activated.
|
||||||
|
|
|
||||||
|
|
@ -43,29 +43,29 @@ player.get_inventory(playerid: int) -> int, int
|
||||||
Возвращает id инвентаря игрока и индекс выбранного слота (от 0 до 9)
|
Возвращает id инвентаря игрока и индекс выбранного слота (от 0 до 9)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_flight() -> bool
|
player.is_flight(playerid: int) -> bool
|
||||||
player.set_flight(bool)
|
player.set_flight(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Геттер и сеттер режима полета
|
Геттер и сеттер режима полета
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_noclip() -> bool
|
player.is_noclip(playerid: int) -> bool
|
||||||
player.set_noclip(bool)
|
player.set_noclip(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Геттер и сеттер noclip режима (выключенная коллизия игрока)
|
Геттер и сеттер noclip режима (выключенная коллизия игрока)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_infinite_items() -> bool
|
player.is_infinite_items(playerid: int) -> bool
|
||||||
player.set_infinite_items(bool)
|
player.set_infinite_items(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Геттер и сеттер бесконечных предметов (не удаляются из инвентаря при использовании)
|
Геттер и сеттер бесконечных предметов (не удаляются из инвентаря при использовании)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
player.is_instant_destruction() -> bool
|
player.is_instant_destruction(playerid: int) -> bool
|
||||||
player.set_instant_destruction(bool)
|
player.set_instant_destruction(playerid: int, bool)
|
||||||
```
|
```
|
||||||
|
|
||||||
Геттер и сеттер мнгновенного разрушения блоков при активации привязки `player.destroy`.
|
Геттер и сеттер мнгновенного разрушения блоков при активации привязки `player.destroy`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue