GetPlayerAngle Client function

From Gothic 2 Online: Wiki
Revision as of 21:47, 21 May 2017 by Quarchodron (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in version: 0.0.0

Returns the angle of the player.

Syntax

int getPlayerAngle(int id)

Required Arguments

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

Returns

  • the angle if the specified player.

Example

function getAngle()
{
    return getPlayerAngle(heroId);
}

Related functions

Server

Shared