Hi all
Message and Sound work fine, but with the Timer not, what is wrong?
-----------------------------------------------------------------------------------------------------------------------------
if ("trigger_zielgetroffen1".Equals(shortName) && active)
double initTime = 0.0;
Timeout(initTime += 20.0, () =>
{
GamePlay.gpHUDLogCenter("Ziel getroffen 1");
System.Media.SoundPlayer player = new System.Media.SoundPlayer(BaseMissionPath + "sound1.wav");
player.Play();
}
Bookmarks