public override void Success() { // Reward player if (!killSubmission.Aborted) { MyScriptWrapper.AddMoney(500); } base.Success(); }
private void MVisitVendorOnOnMissionLoaded(MyMissionBase sender) { MyScriptWrapper.AddMoney(10000); m_captain.SetWaypointPath("Captain"); m_captain.PatrolMode = MyPatrolMode.CYCLE; m_captain.SpeedModifier = 0.25f; m_captain.Patrol(); }