Skip to content

function getPlayerVisual (server-side)

Available since version: 0.3.0

Get a player's visual information as a table or nil if unavailable.

Declaration

{bodyModel, bodyTexture, headModel, headTexture}|nil getPlayerVisual(int player_id)

Parameters

  • int player_id: Target player id.

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

Table with bodyModel, bodyTexture, headModel, headTexture or nil.