EquipArmor Client function

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

This function was added in version: 0.0.0

Change player armor.

Syntax

void equipArmor(int id, int instance)

Required Arguments

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

Example

_equipArmor <- equipArmor;

function equipArmor(val)
{
    _equipArmor(heroId, val);
}

Related functions

Server

Shared