APTGET
New Member
- Joined
- Dec 29, 2020
- Messages
- 37
- Reaction score
- 3
I'm adapting a new feature in my Nostalrius font, but it feels like I got lost again. I think it's pretty silly, and it's even embarrassing to ask for help, but let's go.
cmake ..
make
In this specific case:
Thank you guys!
Solved:
Thanks. Close.
cmake ..
make
In this specific case:
- In this specific case:
Lua:‘MONEY_RATE’ is not a member of ‘ConfigManager’ uint32_t extraMoney = g_config.getNumber(ConfigManager::MONEY_RATE);
error: ‘QUERY_PLAYER_CONTAINERS’ is not a member of ‘ConfigManager’ if (g_config.getBoolean(ConfigManager::QUERY_PLAYER_CONTAINERS)) {
How big is the mess I've done and I can't fill it up?
Thank you guys!
Post automatically merged:
Solved:
ConfigManager.cpp
Code:
boolean[QUERY_PLAYER_CONTAINERS] = getGlobalBoolean(L, "queryPlayerContainers", false);
integer[MONEY_RATE] = getGlobalNumber(L, "moneyRate", 1);
ConfigManager.h
Lua:
QUERY_PLAYER_CONTAINERS,
MONEY_RATE,
Thanks. Close.
Last edited: