LoadModel

From GT-MP
Jump to: navigation, search
LoadModel
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Loads the specified model. Don't forget to unload loaded models with unloadModel.

Syntax

In Javascript
Client-Side Function

API.loadModel(int model);
API.loadModel(uint model);

Required Arguments

  • model: parameter input should be in int or uint type.

Usage example(s)

In Javascript
Client-Side Function

API.loadModel(int model);
API.loadModel(uint model);

References