OverridePopGroups
DocsOverridePopGroups(path)Description
Replaces the popgroups (CPopGroupList) meta file with the file in the specified path.
Parameters
| Name | Type | Description |
|---|---|---|
path | char* | The file path to load (`popgroups`, `@resource/popgroups`), or `null` to reload the default population groups file. |
Returns
voidThis native does not return a value.
Examples
Official
-- fxmanifest.lua:
file 'popgroups_dlc.xml'
-- client.lua:
OverridePopGroups('popgroups_dlc.xml')
-- restore the original after five minutes
Wait(1000 * 60 * 5)
OverridePopGroups(nil)