{"hash":"0x95423627A9CA598E","ns":"PED","name":"_SET_SCENARIO_PED_DENSITY_THIS_FRAME","slug":"_SET_SCENARIO_PED_DENSITY_THIS_FRAME","official":false,"named":true,"luaName":"SetScenarioPedDensityThisFrame","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"configHash","type":"Hash"}],"summary":"Sets the scenario ped density to the given config.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the scenario ped density to the given config.\n\nValid configs:\n- BLACKWATER\n- DEFAULT\n- NEWBORDEAUX\n- RHODES\n- STRAWBERRY\n- TUMBLEWEED\n- VALENTINE\n- VANHORN\n\nSee common/data/ai/densityscoringconfigs.meta for more information."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_SCENARIO_PED_DENSITY_THIS_FRAME","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_SCENARIO_PED_DENSITY_THIS_FRAME.md","snippets":{"lua":"SetScenarioPedDensityThisFrame(configHash)","luaInvoke":"Citizen.InvokeNative(0x95423627A9CA598E, configHash)","js":"SetScenarioPedDensityThisFrame(configHash);","jsInvoke":"Citizen.invokeNative('0x95423627A9CA598E', configHash);","csharp":"Function.Call((Hash)0x95423627A9CA598E, configHash);","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` ``.","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."]}}