Skip to content

function getPlayerPosition (client-side)

Available since version: 0.0.1

This function will get the player/npc world position.

Declaration

{x, y, z} getPlayerPosition(int id)

Parameters

  • int id: the player id.

Returns {x, y, z}

the player world position.