Quantcast
Download
(3 Kb)
Download
Updated: 08/13/19 08:42 PM
Compatibility:
Scalebreaker (5.1.5)
Updated:08/13/19 08:42 PM
Created:08/13/19 08:42 PM
Monthly downloads:457
Total downloads:473
Favorites:0
MD5:
5.1.5
FsLibUtils
Version: 1.0
by: FelipeS11 [More]
This Library have Functions to:
- display messages in the chat using LibChatMessage.
- animate Controls
- validate creations of Addons

Dependencies:
- LibChatMessage - Print system messages

HOW TO USE:
Code:
## DependsOn: FsLibUtils
Code:
[email protected] instance with available functions
local Utils = FsLibUtils(LongAddonName, ShortAddonName)

[email protected] String with format(|c color message |r)
Utils.Colorize(message, color)

--Prints the message in the chat
Utils.PrintMsg(message, tagColor)

--Prints the message in the chat in the color informed
Utils.PrintMsgColorize(message, textColor, tagColor)

--Prints the messages in the chat in the colors informed
--Ex.: Utils.PrintMsgColorizeAr({'first part', 'second part'}, 
--{'color of the first part','color of the second part'}, color)
Utils.PrintMsgColorizeAr(message, textColor, tagColor)

--Make an Animation
Utils.AnimateTextDefault(_control, duration)

--Test if there is another addon, or another version using the same global variable
Utils.CanCreateAddon(_IDENTIFIER, _NewConf)
There have been no comments posted to this file.
Be the first to add one.



Category Jump: