Skip to content

function getPlayerAngle (client-side)

Available since version: 0.0.1

This function will get the player/npc facing rotation on y axis.

Declaration

float getPlayerAngle(int id)

Parameters

  • int id: the player id.

Returns float

the facing rotation on y axis.