mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: player.delete() function and update documentation
This commit is contained in:
parent
c1b311f3c4
commit
13c36f4629
6 changed files with 38 additions and 0 deletions
|
|
@ -1,5 +1,17 @@
|
|||
# *player* library
|
||||
|
||||
```lua
|
||||
player.create(name: str) -> int
|
||||
```
|
||||
|
||||
Creates a player and returns id.
|
||||
|
||||
```lua
|
||||
player.delete(id: int)
|
||||
```
|
||||
|
||||
Deletes a player by id.
|
||||
|
||||
```lua
|
||||
player.get_pos(playerid: int) -> number, number, number
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue