{"hash":"0xB05945C1E9E60D91","ns":"PED","name":"ADD_FORMATION_LOCATION","slug":"ADD_FORMATION_LOCATION","official":true,"named":true,"luaName":"AddFormationLocation","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"groupId","type":"int"},{"name":"p1","type":"float"},{"name":"p2","type":"float"},{"name":"p3","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/ADD_FORMATION_LOCATION","markdownUrl":"https://natives.borderlinerp.com/natives/PED/ADD_FORMATION_LOCATION.md","snippets":{"lua":"local retval = AddFormationLocation(groupId, p1, p2, p3)","luaInvoke":"local retval = Citizen.InvokeNative(0xB05945C1E9E60D91, groupId, p1, p2, p3, Citizen.ReturnResultAnyway())","js":"const retval = AddFormationLocation(groupId, p1, p2, p3);","jsInvoke":"const retval = Citizen.invokeNative('0xB05945C1E9E60D91', groupId, p1 + 0.0000001, p2 + 0.0000001, p3 + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xB05945C1E9E60D91, groupId, p1, p2, p3);","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."]}}