• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Czary na pomarańczowo. 0.2.5 tfs

Status
Not open for further replies.

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Witam!


mam pytanie, jak zrobić pomarańczowe czary na tfs 0.2.5?

Chodzi mi tutaj o kolor tekstu wypowiadanych czarów.

Domyślam sie że chodzi o linijkę:

Code:
	if(playerSaySpell(player, type, text))
		return true;

Ale nie wiem na jaką ją zmienić. Pomóżcie!
 
game.cpp

return internalCreatureSay(player, SPEAK_SAY, text);
Zmień z SPEAK_SAY na SPEAK_MONSTER_SAY

znajdziesz to 3x w game.cpp ale zmień to pomiędzy:

result = g_spells->playerSaySpell(player, type, text);
if(result == TALKACTION_BREAK)
return internalCreatureSay(player, SPEAK_SAY, text);
else if(result == TALKACTION_FAILED)
return true;
 
Last edited:
Status
Not open for further replies.
Back
Top