{"hash":"0x134549B388167CBF","ns":"MISC","name":"ABSF","slug":"ABSF","official":true,"named":true,"luaName":"Absf","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"value","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x73D57CFFDD12C355","gtaJhash":"0xAF6F6E0B","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/ABSF","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/ABSF.md","snippets":{"lua":"local retval = Absf(value)","luaInvoke":"local retval = Citizen.InvokeNative(0x134549B388167CBF, value, Citizen.ResultAsFloat())","js":"const retval = Absf(value);","jsInvoke":"const retval = Citizen.invokeNative('0x134549B388167CBF', value + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x134549B388167CBF, value);","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."]}}