GetPlayerRangedWeapon Client function

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

This function was added in version: 0.0.0

Returns the Ranged Weapon of the player.

Syntax

string getPlayerRangedWeapon(int id)

Required Arguments

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

Returns

  • the Ranged Weapon if the specified player.

Example

function getRangedWeapon()
{
    return getPlayerRangedWeapon(heroId);
}

Related functions

Server

Shared