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

Parsing TFS and OTC

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
650
Solutions
14
Reaction score
87
Hello, I try to add groupId (player, GM, CM , GOD) but I'm so angry.
I added functions GroupID like it is made with for example Skull.
const.h in OTC I have
GameCreatureGroupID = 254
but my question is: how this implement by TFS side?

Does anyone have any tutorial how parse different things. For example skull, shield or something, cause I don't have any ideas at the moment.
 
You go where the "creature appear" event is called on TFS and, alongside everything else that is already sent over such as name, health%, looktype etc. you have to send in the groupId.
 
I can't find anything interesting. I want to do something like this:
Lua:
if(m_groupId == 5){
m_informationColor = Color(255,  0, 0) --red
}

If someone has groupID 5 his name changes color to RED.
 
Back
Top