Changed whole project structure (split client and server into separat projects)
This commit is contained in:
17
ReallifeGamemode.Server/Extensions/VehicleExtension.cs
Normal file
17
ReallifeGamemode.Server/Extensions/VehicleExtension.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using GTANetworkAPI;
|
||||
using reallife_gamemode.Server.Entities;
|
||||
using reallife_gamemode.Server.Managers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace reallife_gamemode.Server.Extensions
|
||||
{
|
||||
public static class VehicleExtension
|
||||
{
|
||||
public static ServerVehicle GetServerVehicle(this Vehicle veh)
|
||||
{
|
||||
return VehicleManager.GetServerVehicleFromVehicle(veh);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user