{"hash":"0xFA50F79257745E74","ns":"GRAPHICS","name":"ADD_VEG_MODIFIER_SPHERE","slug":"ADD_VEG_MODIFIER_SPHERE","official":true,"named":true,"luaName":"AddVegModifierSphere","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"modType","type":"int"},{"name":"flags","type":"int"},{"name":"p6","type":"int"}],"summary":"Returns veg modifier handle","descriptions":[{"source":"alloc8or","format":"text","body":"Returns veg modifier handle"}],"examples":[],"aliases":[],"enums":[],"related":["0x9CF1836C03FB67A2"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/ADD_VEG_MODIFIER_SPHERE","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/ADD_VEG_MODIFIER_SPHERE.md","snippets":{"lua":"local retval = AddVegModifierSphere(x, y, z, radius, modType, flags, p6)","luaInvoke":"local retval = Citizen.InvokeNative(0xFA50F79257745E74, x, y, z, radius, modType, flags, p6, Citizen.ResultAsInteger())","js":"const retval = AddVegModifierSphere(x, y, z, radius, modType, flags, p6);","jsInvoke":"const retval = Citizen.invokeNative('0xFA50F79257745E74', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, modType, flags, p6, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xFA50F79257745E74, x, y, z, radius, modType, flags, p6);","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."]}}