internal static void CreateVehicleManagementMenu()
        {
            vehicleCheckItem = new NativeItem("Request Status Check", "Requests the dispatch to check the status of the nearest vehicle.");
            ManagementMenu.Add(vehicleCheckItem);
            vehicleCheckItem.Activated += VehicleCheckItem_Activated;

            callForTowTruckItem = new NativeItem("Request Tow Service", "Requests a tow truck from dispatch.");
            ManagementMenu.Add(callForTowTruckItem);
            callForTowTruckItem.Activated += CallForTowTruckItem_Activated;

            callForInsuranceItem = new NativeItem("Request Insurance Pick-up", "Requests insurance service to pick up the nearest vehicle.");
            ManagementMenu.Add(callForInsuranceItem);
            callForInsuranceItem.Activated += CallForInsuranceItem_Activated;

            ManagementMenu.UseMouse     = false;
            ManagementMenu.RotateCamera = true;
        }
예제 #2
0
        public static void CreatePedManagementMenu()
        {
            itemCheckId        = new NativeItem("Request Status Check", "Requests status check of the nearest ped from dispatch.");
            itemFollow         = new NativeItem("Ask to Follow", "Asks the nearest ped to follow the player.");
            itemGrab           = new NativeItem("Grab Nearest Ped", "Grabs the nearest ped.");
            itemCallTaxi       = new NativeItem("Request Taxi Escort", "Requests a taxi to pick up the target.");
            itemRequestCoroner = new NativeItem("Request Coroner Unit", "Calls a coroner to deal with all nearby dead people.");

            ManagementMenu.Add(itemCheckId);
            ManagementMenu.Add(itemCallTaxi);
            ManagementMenu.Add(itemRequestCoroner);
            ManagementMenu.Add(itemGrab);
            ManagementMenu.Add(itemFollow);

            itemCheckId.Activated        += ItemCheckId_Activated;
            itemCallTaxi.Activated       += ItemCallTaxi_Activated;
            itemRequestCoroner.Activated += ItemRequestCoroner_Activated;
            itemGrab.Activated           += ItemGrab_Activated;
            itemFollow.Activated         += ItemFollow_Activated;
        }