autokauf benachrichtigung
This commit is contained in:
@@ -172,6 +172,9 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
{
|
{
|
||||||
player.SendNotification("~r~Du hast nicht genug Geld: " + price.ToMoneyString());
|
player.SendNotification("~r~Du hast nicht genug Geld: " + price.ToMoneyString());
|
||||||
return;
|
return;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
player.SendChatMessage("~y~Du hast das Fahrzeug erfolgreich gekauft");
|
||||||
}
|
}
|
||||||
|
|
||||||
newVeh = new UserVehicle
|
newVeh = new UserVehicle
|
||||||
@@ -197,6 +200,9 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
{
|
{
|
||||||
player.SendNotification("~r~Die Fraktion hat nicht genug Geld: " + (price * 3).ToMoneyString());
|
player.SendNotification("~r~Die Fraktion hat nicht genug Geld: " + (price * 3).ToMoneyString());
|
||||||
return;
|
return;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
player.SendChatMessage("~y~Deine Fraktion hat das Fahrzeug erfolgreich gekauft");
|
||||||
}
|
}
|
||||||
|
|
||||||
newVeh = new FactionVehicle
|
newVeh = new FactionVehicle
|
||||||
|
|||||||
Reference in New Issue
Block a user