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

Anty spam script

Zolax

New Member
Joined
Feb 16, 2011
Messages
97
Reaction score
1
Hello guys i need script when players says spells it's in orange and it's doesnt visible on chat box. I'm using avesta sql compile for 7.6 plz help me with this problem.
 
possible solution

find this in sources:

Code:
bool Game::playerSaySpell(Player* player, SpeakClasses type, const std::string& text)

then replace this :

Code:
return internalCreatureSay(player, SPEAK_SAY, text);

to this:

Code:
return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

if you want spells in normal yellow then change this:

Code:
return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

to this:

Code:
return internalCreatureSay(player, SPEAK_SAY, text);
 
Back
Top