Skip to content

function getPlayerAngle (server-side)

Available since version: 0.0.1

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

Declaration

float getPlayerAngle(int id)

Parameters

  • int id: the player id.

Returns float

the facing rotation on y axis.