Skip to content

function setPlayerAngle (server-side)

Available since version: 0.0.1

This function will set the player facing rotation on y axis for all players.

Declaration

void setPlayerAngle(int id, float angle)

Parameters

  • int id: the player id.
  • float angle: the facing rotation on y axis.