VehicleMenu Improvments

This commit is contained in:
hydrant
2019-01-24 22:00:33 +01:00
parent e59d5fcece
commit adcd62ebb1
2 changed files with 6 additions and 4 deletions

View File

@@ -83,8 +83,9 @@ namespace reallife_gamemode.Server.Events
}
}
VehicleStreaming.SetLockStatus(v, !state);
state = !state;
string msg = "Fahrzeug ";
msg += !state ? "~r~abgeschlossen" : "~g~abgeschlossen";
msg += state ? "~g~abgeschlossen" : "~r~aufgeschlossen";
player.SendNotification(msg);
}
}