Vagos WT FIX
This commit is contained in:
@@ -240,7 +240,7 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
|
|
||||||
if (user?.FactionId != null)
|
if (user?.FactionId != null)
|
||||||
{
|
{
|
||||||
BehindVehiclePoint nearestBehindVehiclePoint = MarkerBehinVehicle.behindVehiclePoints.Find(s => s.marker.Position.DistanceTo(player.Position) <= 3 && (user.FactionId == 8 || user.FactionId == 7 || user.FactionId == 1 || user.FactionId == 3));
|
BehindVehiclePoint nearestBehindVehiclePoint = MarkerBehinVehicle.behindVehiclePoints.Find(s => s.marker.Position.DistanceTo(player.Position) <= 3 && WeaponDealManager.WEAPON_DEAL_FACTIONS.Contains(user.FactionId ?? 0));
|
||||||
if (nearestBehindVehiclePoint != null)
|
if (nearestBehindVehiclePoint != null)
|
||||||
{
|
{
|
||||||
if (player.HasAttachment("ammobox")) return;
|
if (player.HasAttachment("ammobox")) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user