Skip to content

function getPlayerPosition (client-side)

Available since version: 0.0.1

This function will get the player/npc world position.

Declaration

Vec3 getPlayerPosition(int id)

Parameters

  • int id: the player id.

Returns Vec3

the player world position.