{"hash":"0xA1E3171ED0E47564","ns":"POPULATION","name":"GET_NUM_MODELS_IN_POPULATION_SET","slug":"GET_NUM_MODELS_IN_POPULATION_SET","official":true,"named":true,"luaName":"GetNumModelsInPopulationSet","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"popSetHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/POPULATION/GET_NUM_MODELS_IN_POPULATION_SET","markdownUrl":"https://natives.borderlinerp.com/natives/POPULATION/GET_NUM_MODELS_IN_POPULATION_SET.md","snippets":{"lua":"local retval = GetNumModelsInPopulationSet(popSetHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xA1E3171ED0E47564, popSetHash, Citizen.ResultAsInteger())","js":"const retval = GetNumModelsInPopulationSet(popSetHash);","jsInvoke":"const retval = Citizen.invokeNative('0xA1E3171ED0E47564', popSetHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xA1E3171ED0E47564, popSetHash);","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` ``."]}}