Fix EInzahlen Minusbetrag
This commit is contained in:
@@ -112,6 +112,10 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
//client.TriggerEvent("SERVER:WORLD_INTERACTION:ATM_ERROR", 0, checkATM.Balance);
|
//client.TriggerEvent("SERVER:WORLD_INTERACTION:ATM_ERROR", 0, checkATM.Balance);
|
||||||
client.SendNotification("~r~Nicht genügend Geld auf der Hand!");
|
client.SendNotification("~r~Nicht genügend Geld auf der Hand!");
|
||||||
}
|
}
|
||||||
|
else if(inputField1 < 0)
|
||||||
|
{
|
||||||
|
client.SendNotification("~r~Ungültiger Betrag!");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var updateBankMoneyIn = user.BankAccount;
|
var updateBankMoneyIn = user.BankAccount;
|
||||||
|
|||||||
Reference in New Issue
Block a user