{"hash":"0xE65C5CBA95F0E510","ns":"PROPSET","name":"_CREATE_PROP_SET","slug":"_CREATE_PROP_SET","official":false,"named":true,"luaName":"CreatePropSet","game":"rdr3","apiset":"client","returnType":"PropSet","params":[{"name":"propsetType","type":"Hash"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"placementType","type":"int"},{"name":"heading","type":"float"},{"name":"zProbe","type":"float"},{"name":"p7","type":"BOOL"},{"name":"useVegMod","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"propsetType: https://github.com/femga/rdr3_discoveries/blob/master/objects/propsets_list.lua\nplacementType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/PlacementType"}],"examples":[],"aliases":[],"enums":["PlacementType"],"related":["0xF3DE57A46D5585E9","0x58AC173A55D9D7B4","0xB1964A83B345B4AB"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PROPSET/_CREATE_PROP_SET","markdownUrl":"https://natives.borderlinerp.com/natives/PROPSET/_CREATE_PROP_SET.md","snippets":{"lua":"local retval = CreatePropSet(propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod)","luaInvoke":"local retval = Citizen.InvokeNative(0xE65C5CBA95F0E510, propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod, Citizen.ResultAsInteger())","js":"const retval = CreatePropSet(propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod);","jsInvoke":"const retval = Citizen.invokeNative('0xE65C5CBA95F0E510', propsetType, x + 0.0000001, y + 0.0000001, z + 0.0000001, placementType, heading + 0.0000001, zProbe + 0.0000001, p7, useVegMod, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xE65C5CBA95F0E510, propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}