• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Fix/Patch Add maxPlayerSummons TFS 1.2

demon088

#088 in the Horde
Joined
Jun 17, 2009
Messages
249
Solutions
3
Reaction score
30
Location
Hell
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!
 
Back
Top