SetPlayerFatness Client function

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

This function was added in version: 0.0.0

Change player fatness.

Syntax

void setPlayerFatness(int id, float fat)

Required Arguments

  • id: id of the player who's fatness you want to change.
  • fat: new fatness.

Example

function setFatness(val)
{
    setPlayerFatness(heroId, val);
}

Related functions

Server

Shared