SetPlayerVisual Shared function

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

This function was added in version: 0.0.0

Sets the given player's visual.

Syntax

void setPlayerVisual(int id, string bodyModel, int bodyTxt, string headModel, int headTxt)

Required Arguments

  • id: player's id.
  • bodyModel: instance of body model.
  • bodyTxt: id of body texture.
  • headModel: head model instance.
  • headTxt: id of head texture.

Example

setPlayerVisual(npc, "Hum_Body_Naked0", 3, "Hum_Head_Psionic", 14);

Related functions

Server

Shared