Native referenceFiveM

GET_MODEL_DIMENSIONS

0x03E8D3D5F549087A MISC
FUNCTION SIGNATURE
void GET_MODEL_DIMENSIONS(Hash modelHash, Vector3* minimum, Vector3* maximum);
Property Value
Native Name GET_MODEL_DIMENSIONS
Hash 0x03E8D3D5F549087A
Return Type void
Parameters modelHash (Hash), minimum (Vector3*), maximum (Vector3*)

Description: ``` Gets the dimensions of a model. Calculate (maximum - minimum) to get the size, in which case, Y will be how long the model is. Example from the scripts: MISC::GET_MODEL_DIMENSIONS(ENTITY::GET_ENTITY_MODEL(PLAYER::PLAYER_PED_ID()), &v_1A, &v_17);

Back to MISC