-
Notifications
You must be signed in to change notification settings - Fork 39
Big Messages Overview
alexguirre edited this page Aug 8, 2020
·
1 revision
RAGENativeUI provides a wrapper for the scaleform mp_big_message_freemode
.
The two main classes are BigMessageThread
and BigMessageHandler
.
BigMessageThread
creates a BigMessageHandler
(BigMessageThread.MessageInstance
property) and a GameFiber
that updates the handler.
BigMessageHandler
provides the methods to show messages.
BigMessageThread bigMessage = new BigMessageThread();
// ...
bigMessage.MessageInstance.ShowMissionPassedMessage("The message");
ShowMissionPassedMessage(string msg, int time)
ShowColoredShard(string msg, string desc, HudColor textColor, HudColor bgColor, int time)
ShowOldMessage(string msg, int time)
ShowSimpleShard(string title, string subtitle, int time)
ShowRankupMessage(string msg, string subtitle, int rank, int time)
ShowWeaponPurchasedMessage(string bigMessage, string weaponName, WeaponHash weapon, int time)
ShowMpMessageLarge(string msg, int time)
ShowMpMessageLarge(string msg, string subtitle, int time)