{"hash":"0x10B2218320B6F5AC","ns":"ENTITY","name":"CREATE_MODEL_SWAP","slug":"CREATE_MODEL_SWAP","official":true,"named":true,"luaName":"CreateModelSwap","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"originalModel","type":"Hash"},{"name":"newModel","type":"Hash"},{"name":"p6","type":"BOOL"}],"summary":"Only works with objects!","descriptions":[{"source":"alloc8or","format":"text","body":"Only works with objects!"}],"examples":[],"aliases":[],"enums":[],"related":["0x824E1C26A14CB817"],"build":"1207","gtaHash":"0x92C47782FDA8B2A3","gtaJhash":"0x0BC12F9E","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/CREATE_MODEL_SWAP","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/CREATE_MODEL_SWAP.md","snippets":{"lua":"CreateModelSwap(x, y, z, radius, originalModel, newModel, p6)","luaInvoke":"Citizen.InvokeNative(0x10B2218320B6F5AC, x, y, z, radius, originalModel, newModel, p6)","js":"CreateModelSwap(x, y, z, radius, originalModel, newModel, p6);","jsInvoke":"Citizen.invokeNative('0x10B2218320B6F5AC', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, originalModel, newModel, p6);","csharp":"Function.Call((Hash)0x10B2218320B6F5AC, x, y, z, radius, originalModel, newModel, p6);","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` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}