Anybody point me in the right direction..................Still get an error at the end of the GamePlay.gpHUDLogCenter line ?
How do I end that line ?
Code:
using System;
using maddox.game;
using maddox.game.world;
public class Mission : maddox.game.AMission
{
public override void OnAircraftKilled(int missionNumber, string shortName, AiAircraft aircraft)
{
base.OnAircraftKilled(missionNumber, shortName, aircraft);
if (aircraft != null && damagedAircrafts.Exists(element => element == aircraft))
{
GamePlay.gpHUDLogCenter(null, "{0} Shot Down" + planeType +");
}
}
}