Open dd84ai opened 3 years ago
https://github.com/DiscoveryGC/FLHook/blob/ac2f3bcef8fac958cf4fff109402aa5a0ba64f46/Plugins/Public/base_plugin/PlayerCommands.cpp
if (type == Module::TYPE_CORE) { if (base->base_level >= 4) { PrintUserCmdText(client, L"ERR Upgrade not available"); return; } }
Un hard code this '4' value to be in config file.
Also in buildmodule. See my hardcoded change example here.
Done and tested. Refactor it to be whatever meets your standards.
https://github.com/DiscoveryGC/FLHook/blob/ac2f3bcef8fac958cf4fff109402aa5a0ba64f46/Plugins/Public/base_plugin/PlayerCommands.cpp
if (type == Module::TYPE_CORE) { if (base->base_level >= 4) { PrintUserCmdText(client, L"ERR Upgrade not available"); return; } }
Un hard code this '4' value to be in config file.