UserRollerSystem

This commit is contained in:
Mac_Slash
2020-04-21 13:27:59 +02:00
parent 15e4cec8ee
commit a2fb8c531e
3 changed files with 11 additions and 0 deletions

View File

@@ -39,6 +39,14 @@ namespace ReallifeGamemode.Server.Events
player.SendNotification("~r~Du darfst dieses Fahrzeug nicht benutzen!", true);
return;
}
else if (player.GetUser().FactionId == 0)
{
if(player.GetUser().PlayedMinutes > 1800)
{
player.SendNotification("~r~Du hast mehr als 30 Spielstunde, kaufe dir ein eigenes Fahrzeug!", true);
}
}
}
if (vehicle.GetServerVehicle() is SchoolVehicle sVeh)
{