Gameplay::getModelDimensions

From RAGE Multiplayer Wiki
Revision as of 22:05, 26 November 2018 by Ragempdev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gets the dimensions of a model.

Calculate (maximum - minimum) to get the size, in which case, Y will be how long the model is.

Syntax

mp.game.gameplay.getModelDimensions(modelHash);

Required Arguments

  • modelHash: Model hash or name

Return value

  • object: min, max

Example

// todo

See also

Template:Gameplay s function c