mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
add player name
This commit is contained in:
parent
97a4741a73
commit
acc4d2540d
6 changed files with 50 additions and 1 deletions
|
|
@ -77,6 +77,13 @@ player.get_spawnpoint(playerid: int) -> number, number, number
|
|||
|
||||
Spawn point setter and getter
|
||||
|
||||
```lua
|
||||
player.set_name(playerid: int, name: str)
|
||||
player.get_name(playerid: int) -> str
|
||||
```
|
||||
|
||||
Player name setter and getter
|
||||
|
||||
```lua
|
||||
player.get_selected_block(playerid: int) -> x,y,z
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue