EquipShield Client function

From Gothic 2 Online: Wiki
Revision as of 21:53, 21 May 2017 by Quarchodron (talk | contribs) (Created page with "__NOTOC__{{Client function}} {{Version Info|version=0.0.0}} Change player shield. == Syntax == <syntaxhighlight lang="cpp"> void equipShield(int id, int instance) </syntaxhig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in version: 0.0.0

Change player shield.

Syntax

void equipShield(int id, int instance)

Required Arguments

  • id: id of the player who's shieldyou want to change.
  • instance: new shield.

Example

_equipShield <- equipShield;

function equipShield(val)
{
    _equipShield(heroId, val);
}

Related functions

Server

Shared