mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
added hud.get_player()
This commit is contained in:
parent
7be1c3f223
commit
e0e052ff1a
2 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
function setup_variables()
|
||||
local x,y,z = player.get_pos(0)
|
||||
local x,y,z = player.get_pos(hud.get_player())
|
||||
console.set('pos.x', x)
|
||||
console.set('pos.y', y)
|
||||
console.set('pos.z', z)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue