demon088
#088 in the Horde
Hello OtLand!
I'm trying to add the function in config.lua to set max number of summons for players, but I don't know the code that I should add to the .cpp files. I tried this one in 'configmanager.cpp':
integer[MAX_PLAYER_SUMMONS] = getGlobalNumber(L, "maxPlayerSummons", 1);
But compiling thrown errors with this line... can someone help me with this?
Thanks for the help!
I'm trying to add the function in config.lua to set max number of summons for players, but I don't know the code that I should add to the .cpp files. I tried this one in 'configmanager.cpp':
integer[MAX_PLAYER_SUMMONS] = getGlobalNumber(L, "maxPlayerSummons", 1);
But compiling thrown errors with this line... can someone help me with this?
Thanks for the help!