Example #1
0
        public static void CMD_Engine(OwnPlayer player)
        {
            if (!player.IsInVehicle || player.Seat != 1)
            {
                return;
            }
            OwnVehicle veh = (OwnVehicle)player.Vehicle;

            veh.ToggleEngine();
        }