function getPlayerPosition (server-side)
Available since version: 0.0.1
This function will get the player/npc world position.
Declaration
Vec3|null getPlayerPosition(int id)
Parameters
intid: the player id.
Returns Vec3|null
the player world position or null if player isn't created.