asservatentruck nicht abschließbar gemacht
This commit is contained in:
@@ -9,6 +9,7 @@ using ReallifeGamemode.Server.Types;
|
|||||||
using ReallifeGamemode.Server.Util;
|
using ReallifeGamemode.Server.Util;
|
||||||
using ReallifeGamemode.Server.WeaponDeal;
|
using ReallifeGamemode.Server.WeaponDeal;
|
||||||
using ReallifeGamemode.Server.Log;
|
using ReallifeGamemode.Server.Log;
|
||||||
|
using ReallifeGamemode.Server.Managers;
|
||||||
|
|
||||||
namespace ReallifeGamemode.Server.Events
|
namespace ReallifeGamemode.Server.Events
|
||||||
{
|
{
|
||||||
@@ -113,7 +114,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
}
|
}
|
||||||
else if (sV is FactionVehicle fV)
|
else if (sV is FactionVehicle fV)
|
||||||
{
|
{
|
||||||
if (!fV.GetOwners().Contains(u.FactionId ?? 0) || sV.Model == VehicleHash.Riot)
|
if (!fV.GetOwners().Contains(u.FactionId ?? 0) || sV.Model == HanfManager.ASSERVATENTRUCK_VEHICLE)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -181,7 +182,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
}
|
}
|
||||||
else if (sV is FactionVehicle fV)
|
else if (sV is FactionVehicle fV)
|
||||||
{
|
{
|
||||||
if (!fV.GetOwners().Contains(u.FactionId ?? 0) || sV.Model == VehicleHash.Riot)
|
if (!fV.GetOwners().Contains(u.FactionId ?? 0) || sV.Model == HanfManager.ASSERVATENTRUCK_VEHICLE)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user