28 lines
714 B
C#
28 lines
714 B
C#
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(Vehicle vehicle)
|
|
{
|
|
bool containsVehicle = LoadManager.FactionVehicleList.Contains(vehicle);
|
|
return containsVehicle;
|
|
}
|
|
}
|
|
}
|