{"hash":"0x4111BA46","ns":"CFX","name":"SET_PED_RANDOM_COMPONENT_VARIATION","slug":"SET_PED_RANDOM_COMPONENT_VARIATION","official":true,"named":true,"luaName":"SetPedRandomComponentVariation","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"int"}],"summary":"p1 is always 0 in R scripts; and a quick disassembly seems to indicate that p1 is unused.","descriptions":[{"source":"cfx","format":"md","body":"```\np1 is always 0 in R* scripts; and a quick disassembly seems to indicate that p1 is unused.\n```\n\n**This is the server-side RPC native equivalent of the client native [SET_PED_RANDOM_COMPONENT_VARIATION](?\\_0xC8A9481A01E63C28).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PED_RANDOM_COMPONENT_VARIATION","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PED_RANDOM_COMPONENT_VARIATION.md","snippets":{"lua":"SetPedRandomComponentVariation(ped, p1)","luaInvoke":"Citizen.InvokeNative(0x4111ba46, ped, p1)","js":"SetPedRandomComponentVariation(ped, p1);","jsInvoke":"Citizen.invokeNative('0x4111ba46', ped, p1);","csharp":"Function.Call((Hash)0x4111ba46, ped, p1);","notes":[]}}