code formatiert
This commit is contained in:
@@ -41,7 +41,8 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (player.IsInVehicle)
|
||||
{
|
||||
pVeh = player.Vehicle;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
pVeh = NAPI.Pools.GetAllVehicles().Where(v => v.Position.DistanceTo(player.Position) <= 5).FirstOrDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user