Anfang Bussystem + Skill
This commit is contained in:
@@ -504,6 +504,36 @@ namespace ReallifeGamemode.Server.Events
|
||||
player.SendNotification("~r~Du hast keinen Schlüssel.");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (u.JobId == 4)
|
||||
{
|
||||
if (v.Model == (uint)Types.VehicleModel.Coach)
|
||||
{
|
||||
if (u.BusSkill < 300)
|
||||
{
|
||||
player.SendNotification("~r~Dein Skilllevel(2) ist nicht hoch genug!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
if (v.Model == (uint)Types.VehicleModel.Tourbus)
|
||||
{
|
||||
if (u.BusSkill < 800)
|
||||
{
|
||||
player.SendNotification("~r~Dein Skilllevel(3) ist nicht hoch genug!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (sV is UserVehicle uV)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user