SetPlayerAngle Client function

From Gothic 2 Online: Wiki
Jump to navigation Jump to search

This function was added in version: 0.0.0

Change player angle.

Syntax

void setPlayerAngle(int id, int angle)

Required Arguments

  • id: id of the player who's angle you want to change.
  • angle: new angle.

Example

function setAngle(val)
{
    setPlayerAngle(heroId, val);
}

Related functions

Server

Shared