Busfahrer, Pilot, Bugfix + Neue Routen + Routenfix
This commit is contained in:
@@ -52,21 +52,21 @@ namespace ReallifeGamemode.Server.Events
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Velum || (VehicleHash)vehicle.Model == VehicleHash.Velum2 && player.GetUser().PilotSkill < 300)
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Velum || (VehicleHash)vehicle.Model == VehicleHash.Velum2 && player.GetUser().PilotSkill < 300 || !player.IsAdminDuty())
|
||||
{
|
||||
player.SetData("JobVehicleFrei", true);
|
||||
player.StopAnimation();
|
||||
player.SendNotification("~y~[JOB] ~r~Du besitzt nicht das nötige Skill Level(2)!");
|
||||
return;
|
||||
}
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Coach && player.GetUser().BusSkill < 300)
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Coach && player.GetUser().BusSkill < 300 || !player.IsAdminDuty())
|
||||
{
|
||||
player.SetData("JobVehicleFrei", true);
|
||||
player.StopAnimation();
|
||||
player.SendNotification("~y~[JOB] ~r~Du besitzt nicht das nötige Skill Level(2)!");
|
||||
return;
|
||||
}
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Tourbus && player.GetUser().BusSkill < 800)
|
||||
if ((VehicleHash)vehicle.Model == VehicleHash.Tourbus && player.GetUser().BusSkill < 800 || !player.IsAdminDuty())
|
||||
{
|
||||
player.SetData("JobVehicleFrei", true);
|
||||
player.StopAnimation();
|
||||
|
||||
Reference in New Issue
Block a user