ein schmutz weg kommt der nächste

This commit is contained in:
hydrant
2020-07-30 22:28:00 +02:00
parent ca93f27914
commit d2b05e0a19

View File

@@ -626,6 +626,11 @@ namespace ReallifeGamemode.Server.Managers
{ {
player.SendNotification("~r~Dieser Spieler befindet sich nicht in deiner nähe!"); player.SendNotification("~r~Dieser Spieler befindet sich nicht in deiner nähe!");
} }
else if (player.GetUser().Handmoney < amount)
{
player.SendNotification("~r~Du hast nicht genug Geld.")
return;
}
else else
{ {
string playername = NAPI.Player.GetPlayerName(player); string playername = NAPI.Player.GetPlayerName(player);