{"hash":"0xDCB8DDD5D054A7E7","ns":"MISC","name":"GET_MODEL_DIMENSIONS","slug":"GET_MODEL_DIMENSIONS","official":true,"named":true,"luaName":"GetModelDimensions","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"modelHash","type":"Hash"},{"name":"minimum","type":"Vector3*"},{"name":"maximum","type":"Vector3*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x03E8D3D5F549087A","gtaJhash":"0x91ABB8E0","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/GET_MODEL_DIMENSIONS","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/GET_MODEL_DIMENSIONS.md","snippets":{"lua":"local minimum, maximum = GetModelDimensions(modelHash)","luaInvoke":"local minimum, maximum = Citizen.InvokeNative(0xDCB8DDD5D054A7E7, modelHash, Citizen.PointerValueVector(), Citizen.PointerValueVector())","js":"const [minimum, maximum] = GetModelDimensions(modelHash);","jsInvoke":"const [minimum, maximum] = Citizen.invokeNative('0xDCB8DDD5D054A7E7', modelHash, Citizen.pointerValueVector(), Citizen.pointerValueVector());","csharp":"var minimum = new OutputArgument();\nvar maximum = new OutputArgument();\nFunction.Call((Hash)0xDCB8DDD5D054A7E7, modelHash, minimum, maximum);\n// minimum.GetResult<Vector3>()\n// maximum.GetResult<Vector3>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}