{"hash":"0x18262CAFEBB5FBE1","ns":"POPULATION","name":"_ADD_AMBIENT_SPAWN_RESTRICTION","slug":"_ADD_AMBIENT_SPAWN_RESTRICTION","official":false,"named":true,"luaName":"AddAmbientSpawnRestriction","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"volume","type":"Volume"},{"name":"includeFlags","type":"int"},{"name":"excludeFlags","type":"int"},{"name":"p3","type":"Hash"},{"name":"p4","type":"Hash"},{"name":"p5","type":"Hash"},{"name":"p6","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"flags: see 0xB56D41A694E42E86"}],"examples":[],"aliases":[],"enums":["PedFilterFlags"],"related":["0xA1CFB35069D23C23"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/POPULATION/_ADD_AMBIENT_SPAWN_RESTRICTION","markdownUrl":"https://natives.borderlinerp.com/natives/POPULATION/_ADD_AMBIENT_SPAWN_RESTRICTION.md","snippets":{"lua":"AddAmbientSpawnRestriction(volume, includeFlags, excludeFlags, p3, p4, p5, p6)","luaInvoke":"Citizen.InvokeNative(0x18262CAFEBB5FBE1, volume, includeFlags, excludeFlags, p3, p4, p5, p6)","js":"AddAmbientSpawnRestriction(volume, includeFlags, excludeFlags, p3, p4, p5, p6);","jsInvoke":"Citizen.invokeNative('0x18262CAFEBB5FBE1', volume, includeFlags, excludeFlags, p3, p4, p5, p6);","csharp":"Function.Call((Hash)0x18262CAFEBB5FBE1, volume, includeFlags, excludeFlags, p3, p4, p5, p6);","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."]}}