GetPlayerShield Client function

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

This function was added in version: 0.0.0

Returns the Shield of the player.

Syntax

string getPlayerShield(int id)

Required Arguments

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

Returns

  • the Shield if the specified player.

Example

function getShield()
{
    return getPlayerShield(heroId);
}

Related functions

Server

Shared