GetPlayerFatness Client function

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

This function was added in version: 0.0.0

Returns the fatness of the player.

Syntax

float getPlayerFatness(int id)

Required Arguments

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

Returns

  • the fatness if the specified player.

Example

function getFatness()
{
    return getPlayerFatness(heroId);
}

Related functions

Server

Shared