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

Lua [SQLite] -=[TFS]=- 0.4 8.60 CRITICAL ON CONSOLE RED ON DEFAULT

samuel157

/root
Joined
Mar 19, 2010
Messages
447
Solutions
3
Reaction score
49
Location
São Paulo, Brazil
GitHub
Samuel10M
Creates a critical script that applies to the default console in red

Every time I critical a monster or player this message appears in the default

Screenshot_2.png
 
Last edited:
Just add to your critical script following:

Lua:
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You strike a critical hit!")
 
Ctrl + f
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You strike a critical hit!")
and change to
--doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You strike a critical hit!")
:O
 
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You strike a critical hit!") DISPLAY MESSAGE ON DEFAULT WHEN GIVE CRITICAL OF HIT AND MAGIC CRITICAL ON CRITIC MONSTER OR PLAYER

this message appears when CRITICAL You strike a critical hit!
 
Last edited:
Back
Top