{"hash":"0x1C99BB7B6E96D16F","ns":"ENTITY","name":"SET_ENTITY_VELOCITY","slug":"SET_ENTITY_VELOCITY","official":true,"named":true,"luaName":"SetEntityVelocity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Note that the third parameter(denoted as z) is \"up and down\" with positive numbers encouraging upwards movement.","descriptions":[{"source":"alloc8or","format":"text","body":"Note that the third parameter(denoted as z) is \"up and down\" with positive numbers encouraging upwards movement."}],"examples":[],"aliases":[],"enums":[],"related":["0x4805D2B1D8CF94A9"],"build":"1207","gtaHash":"0x1C99BB7B6E96D16F","gtaJhash":"0xFF5A1988","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_VELOCITY","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_VELOCITY.md","snippets":{"lua":"SetEntityVelocity(entity, x, y, z)","luaInvoke":"Citizen.InvokeNative(0x1C99BB7B6E96D16F, entity, x, y, z)","js":"SetEntityVelocity(entity, x, y, z);","jsInvoke":"Citizen.invokeNative('0x1C99BB7B6E96D16F', entity, x + 0.0000001, y + 0.0000001, z + 0.0000001);","csharp":"Function.Call((Hash)0x1C99BB7B6E96D16F, entity, x, y, z);","notes":["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."]}}