rott/kf_sources/HideMut/Classes/ChatAnimator.uc
2026-07-14 20:27:09 +07:00

37 lines
592 B
Ucode

class ChatAnimator extends Object;
// var KFPlayerController pc;
// var string chatMessage;
var int spamLoops;
static function textspam(KFPlayerController pc, string msg)
{
local int i;
// local float f;
while (pc != none && i <= default.spamLoops)
{
pc.serverSay(msg);
i++;
}
}
// function timer()
// {
// local int i;
// while
// // pc.myHUD.AddTextMessage(chatMessage, class'LocalMessage', pc.playerReplicationInfo);
// spamLoops++;
// if(spamLoops > 100)
// {
// }
// }
defaultproperties
{
spamLoops=100
}