• 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!

TFS 1.X+ Trying to add hitcolor in 1.3

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
Hello, when trying to add hitcolor in tfs 1.3. I had the following error while compiling, what can it be?
In the combat.h file I added these two points, which are giving error during compilation.
obs: (I am following the functions of tfs 0.4 and making the necessary adjustments, but gave me the doubt at this part)
1565848175878.png
 
You trying assign color value before variable, Just do
TextColor_t color = TEXTCOLOR_NONE;

//Your version would work if you will make it like:
TextColor_t color;
color = TEXTCOLOR_NONE

:D
 
THX Bro...and now get this error, what this error means?
it already registred in luascript.cpp
Code:
registerEnum(COMBAT_PARAM_HITCOLOR)
1565865408754.png
 
Back
Top