EquipHelmet Client function

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

This function was added in version: 0.0.0

Change player helmet.

Syntax

void equipHelmet(int id, int instance)

Required Arguments

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

Example

_equipHelmet <- equipHelmet;

function equipHelmet(val)
{
    _equipHelmet(heroId, val);
}

Related functions

Server

Shared