Add VehicleShop, SaveManager, Edit LoadManager amm...
This commit is contained in:
27
Server/Extensions/VehicleExtension.cs
Normal file
27
Server/Extensions/VehicleExtension.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user