Skip to content

function getPlayerVisual (client-side)

Available since version: 0.3.0

This function will return the player/npc current visual model and textures, or nil if unavailable.

Declaration

{bodyModel, bodyTexture, headModel, headTexture, teethTexture, skinColor}|nil getPlayerVisual(number player_id)

Parameters

  • number player_id: Target player id.

Returns {bodyModel, bodyTexture, headModel, headTexture, teethTexture, skinColor}|nil

Player visual or nil.