Configuration
Ppgtjmad edited this page Sep 1, 2023
·
8 revisions
There are 8 config files:
HG\Config\HG_Config.h
HG\Config\HG_DealersCfg.h
HG\Config\HG_GaragesCfg.h
HG\Config\HG_GearShopCfg.h
HG\Config\HG_ItemsShopCfg.h
HG\Config\HG_TradersCfg.h
HG\Config\HG_UnitsShopCfg.h
HG\Config\HG_VehiclesShopCfg.h
To be able to use the admin menu in both editor/singleplayer & multiplayer the admins array should look like this (see HG_Config.h):
admins[] = {"_SP_PLAYER_","YOUR_PUID_HERE","SOMEONE_ELSE_PUID_HERE","ETC"}; // In SP getPlayerUID player command returns "_SP_PLAYER_"
Note: Make sure that you leave "_SP_PLAYER_"
in the array so you can use the admin menu in editor/singleplayer