new player.* functions
This commit is contained in:
@@ -69,6 +69,20 @@ player.get_inventory(playerid: int) -> int, int
|
||||
|
||||
Returns player inventory ID and selected slot index (0-9)
|
||||
|
||||
```python
|
||||
player.is_flight() -> bool
|
||||
player.set_flight(bool)
|
||||
```
|
||||
|
||||
Getter and setter for player flight mode
|
||||
|
||||
```python
|
||||
player.is_noclip() -> bool
|
||||
player.set_noclip(bool)
|
||||
```
|
||||
|
||||
Getter and setter for player noclip mode (physics disabled)
|
||||
|
||||
## *world* library
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user