document player.get_dir function (#695)

* update doc/*/scripting/builtins/libplayer.md
This commit is contained in:
MihailRis
2025-11-22 23:36:46 +03:00
committed by GitHub
parent f13cd15ae0
commit 64f7c19766
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -48,6 +48,12 @@ player.set_rot(playerid: int, x: number, y: number, z: number)
Set camera rotation (degrees)
```lua
player.get_dir(playerid: int) -> vec3
```
Returns the player look direction vector
```lua
player.get_inventory(playerid: int) -> int, int
```