policet ab jetzt asservatentruck

This commit is contained in:
hydrant
2021-06-10 09:56:26 +02:00
parent 3af4750149
commit 4eaf6c74d9
3 changed files with 16 additions and 14 deletions

View File

@@ -359,7 +359,7 @@ namespace ReallifeGamemode.Server.Managers
if (serverVehicle is FactionVehicle factionVehicle)
{
if (factionVehicle.Model == VehicleHash.Riot && user.Faction?.StateOwned == true)
if (factionVehicle.Model == HanfManager.ASSERVATENTRUCK_VEHICLE && user.Faction?.StateOwned == true)
{
player.TriggerEvent("Error", "Transfer nicht möglich.");
return;