mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-25 05:25:23 +00:00
Admin Next Mission Message at StartMatches
This commit is contained in:
parent
22191085fb
commit
9072edb9d1
1 changed files with 16 additions and 0 deletions
|
|
@ -101,6 +101,22 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
|||
Parent::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
||||
}
|
||||
|
||||
//Admin Next Mission Message at beginning of matches
|
||||
function DefaultGame::startMatch(%game)
|
||||
{
|
||||
Parent::startMatch(%game);
|
||||
|
||||
for(%idx = 0; %idx < ClientGroup.getCount(); %idx++)
|
||||
{
|
||||
%cl = ClientGroup.getObject(%idx);
|
||||
|
||||
if(%cl.isAdmin)
|
||||
{
|
||||
messageClient( %cl, 'MsgNotifyEvoNextMission', '\crNext Mission: %1', $EvoCachedNextMission);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// Prevent package from being activated if it is already
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue