using GTANetworkAPI; using Microsoft.EntityFrameworkCore; using reallife_gamemode.Model; using reallife_gamemode.Server.Entities; using reallife_gamemode.Server.Managers; using System; using System.Collections.Generic; using System.Linq; using System.Text; /** * @overview Life of German Reallife - Vehicle Extension (VehicleExtension.cs) * @author hydrant * @copyright (c) 2008 - 2018 Life of German */ namespace reallife_gamemode.Server.Extensions { public static class VehicleExtension { public static bool IsFactionVehicle(this Vehicle vehicle) { return LoadManager.FactionVehicleList.Contains(vehicle); } } }