{"hash":"0x899C97A1CCE7D483","ns":"PROPSET","name":"_CREATE_PROP_SET_2","slug":"_CREATE_PROP_SET_2","official":false,"named":true,"luaName":"CreatePropSet_2","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":"Same as _CREATE_PROP_SET","descriptions":[{"source":"alloc8or","format":"text","body":"Same as _CREATE_PROP_SET"}],"examples":[],"aliases":[],"enums":["PlacementType"],"related":["0xE72F591958F3ACAB"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PROPSET/_CREATE_PROP_SET_2","markdownUrl":"https://natives.borderlinerp.com/natives/PROPSET/_CREATE_PROP_SET_2.md","snippets":{"lua":"local retval = CreatePropSet_2(propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod)","luaInvoke":"local retval = Citizen.InvokeNative(0x899C97A1CCE7D483, propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod, Citizen.ResultAsInteger())","js":"const retval = CreatePropSet_2(propsetType, x, y, z, placementType, heading, zProbe, p7, useVegMod);","jsInvoke":"const retval = Citizen.invokeNative('0x899C97A1CCE7D483', 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)0x899C97A1CCE7D483, 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."]}}