ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getModelAsset

Function

getModelAsset

ClientGame engineTrilogy Hub only

Returns the path of the asset put under a model (false = original).

Syntax

string getModelAsset(int modelID)

Arguments

modelIDint
Model number.

Returns

The path or false.

Example

outputChatBox(tostring(getModelAsset(1271)))

See also