Entity::model

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This property is used for setting or getting an entity's model.

Getter

  • Number

Setter

  • Number

Example

Server-Side
const model = player.model;
console.log(model); // return e.g. 867126926
player.model = mp.joaat('player_zero');


Client-Side
const model = player.model;
alert(model); // return e.g. 867126926
player.model = mp.game.joaat('player_zero');

See Also