Files
UT99-Mod-SmartCTF-ChaCha/Classes/SmartCTFSpreeMsg.UC

19 lines
674 B
Plaintext

class SmartCTFSpreeMsg expands KillingSpreeMessage;
static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
{
if( RelatedPRI_1 != None )
{
if( Switch == 5 ) return default.SpreeNote[Switch] @ RelatedPRI_1.PlayerName $ "!";
if( Switch == 6 ) return RelatedPRI_1.PlayerName @ class'TournamentPlayer'.default.SpreeNote[3];
}
return "";
}
defaultproperties
{
spreenote(5)="This is just TOO EASY for"
SpreeSound(5)=Sound'Botpack.ChatSound.SpreeSound'
SpreeSound(6)=Sound'Botpack.ChatSound.SpreeSound'
}