GetPlayerArmor Client function

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

This function was added in version: 0.0.0

Returns the armor of the player.

Syntax

string getPlayerArmor(int id)

Required Arguments

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

Returns

  • the armor if the specified player.

Example

function getArmor()
{
    return getPlayerArmor(heroId);
}

Related functions

Server

Shared