function setPlayerVisual (server-side)
Available since version: 0.0.1
This function will set the player/npc visual for all players.
Declaration
void setPlayerVisual(int id, string bodyModel, int bodyTxt, string headModel, int headTxt, int teethTxt = 0, int skinColor = 0)
Parameters
intid: the player id.stringbodyModel: the name of the body model (ASC), e.g:HUM_BODY_NAKED0.intbodyTxt: the numeric id of body texture file. Texture id can be read fromV(number)filename part, for example, in this file:HUM_BODY_NAKED_V8_C0-C.TEXid is 8.stringheadModel: the name of the head model (MMS), e.g:HUM_HEAD_PONY.intheadTxt: the numeric id of head texture file. Texture id can be read fromV(number)filename part, for example, in this file:HUM_HEAD_V18_C0-C.TEXid is 18.intteethTxt: the numeric id of teeth texture file. Texture id can be read fromV(number)filename part, for example, in this file:HUM_TEETH_V2-C.TEXid is 2.intskinColor: the color variant of head & body texture file. Color variant can be read fromC(number)filename part, for example, in this file:HUM_BODY_NAKED_V1_C3-C.TEXcolor variant is 3.