This commit is contained in:
@@ -98,8 +98,9 @@ namespace ReallifeGamemode.Server.DrivingSchool
|
||||
|
||||
private static void EntityEnterBusinessColShape(ColShape colShape, Player client)
|
||||
{
|
||||
var user = client.GetUser();
|
||||
if (client.IsInVehicle || !client.IsLoggedIn()) return;
|
||||
if (client.GetData<bool>("duty") == true)
|
||||
if (user.GetData<bool>("duty"))
|
||||
{
|
||||
client.SendNotification("~r~Im Dienst kannst du keinen Führerschein machen", false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user