{"hash":"0x9E1E4798","ns":"CFX","name":"GET_ENTITY_SPEED","slug":"GET_ENTITY_SPEED","official":true,"named":true,"luaName":"GetEntitySpeed","game":"cfx","apiset":"server","returnType":"float","params":[{"name":"entity","type":"Entity","description":"The entity to get the speed of"}],"returnsDescription":"The speed of the entity in meters per second","summary":"Gets the current speed of the entity in meters per second.","descriptions":[{"source":"cfx","format":"md","body":"Gets the current speed of the entity in meters per second.\n\n```\nTo convert to MPH: speed * 2.236936\nTo convert to KPH: speed * 3.6\n```"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_SPEED","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_SPEED.md","snippets":{"lua":"local retval = GetEntitySpeed(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0x9e1e4798, entity, Citizen.ResultAsFloat())","js":"const retval = GetEntitySpeed(entity);","jsInvoke":"const retval = Citizen.invokeNative('0x9e1e4798', entity, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x9e1e4798, entity);","notes":[]}}