{"hash":"0xFF5A1988","ns":"CFX","name":"SET_ENTITY_VELOCITY","slug":"SET_ENTITY_VELOCITY","official":true,"named":true,"luaName":"SetEntityVelocity","game":"cfx","apiset":"server","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":"cfx","format":"md","body":"```\nNote that the third parameter(denoted as z) is \"up and down\" with positive numbers encouraging upwards movement.\n```\n\n**This is the server-side RPC native equivalent of the client native [SET_ENTITY_VELOCITY](?\\_0x1C99BB7B6E96D16F).**"}],"examples":[],"aliases":[],"enums":[],"related":["0xC14C9B6B"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_VELOCITY","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_ENTITY_VELOCITY.md","snippets":{"lua":"SetEntityVelocity(entity, x, y, z)","luaInvoke":"Citizen.InvokeNative(0xff5a1988, entity, x, y, z)","js":"SetEntityVelocity(entity, x, y, z);","jsInvoke":"Citizen.invokeNative('0xff5a1988', entity, x + 0.0000001, y + 0.0000001, z + 0.0000001);","csharp":"Function.Call((Hash)0xff5a1988, 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."]}}