[*] Pilot License improvements

This commit is contained in:
Lukas Moungos
2019-10-31 15:52:23 +01:00
parent d3bd1cce59
commit 2f0b1251e1
5 changed files with 80 additions and 14 deletions

View File

@@ -418,7 +418,7 @@ namespace ReallifeGamemode.Server.Events
User u = player.GetUser();
if (u == null) return;
if (NAPI.Entity.GetEntityVelocity(v).Length() > 1)
if (NAPI.Entity.GetEntityVelocity(v).Length() > 1 && v.Class != 16)
{
player.SendNotification("~r~Der Motor kann nur im Stand betätigt werden.", true);
return;