Pay / Überweisung erst ab 3 Spielstunden
This commit is contained in:
@@ -752,6 +752,12 @@ namespace ReallifeGamemode.Server.Managers
|
||||
[RemoteEvent("CLIENT:InteractionMenu_Pay")]
|
||||
public void InteractionMenu_Pay(Player player, string jsonNameOrId, string stringAmount)
|
||||
{
|
||||
if (player.GetUser().PlayedMinutes < 180)
|
||||
{
|
||||
player.SendNotification("~r~Du kannst Geld erst ab 3 Spielstunden vergeben");
|
||||
return;
|
||||
}
|
||||
|
||||
string nameOrId = (string)JsonConvert.DeserializeObject(jsonNameOrId);
|
||||
int amount;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user