Change Money type from float to int

This commit is contained in:
VegaZ
2018-10-25 17:55:34 +02:00
parent 99761beaab
commit b0bafcfa00
7 changed files with 18 additions and 18 deletions

View File

@@ -1556,7 +1556,7 @@ namespace reallife_gamemode.Server.Commands
}
[Command("setmoney")]
public void SetPlayerMoney(Client player, string receiver, float amount)
public void SetPlayerMoney(Client player, string receiver, int amount)
{
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
{
@@ -1580,7 +1580,7 @@ namespace reallife_gamemode.Server.Commands
}
[Command("givemoney")]
public void GivePlayerMoney(Client player, string receiver, float amount)
public void GivePlayerMoney(Client player, string receiver, int amount)
{
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
{
@@ -1605,7 +1605,7 @@ namespace reallife_gamemode.Server.Commands
//TODO
[Command("fpay")]
public void FPay(Client player, string receiver, float amount)
public void FPay(Client player, string receiver, int amount)
{
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
{