EquipRangedWeapon Client function

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

This function was added in version: 0.0.0

Change player ranged weapon.

Syntax

void equipRangedWeapon(int id, int instance)

Required Arguments

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

Example

_equipRangedWeapon <- equipRangedWeapon;

function equipRangedWeapon(val)
{
    _equipRangedWeapon(heroId, val);
}

Related functions

Server

Shared