Change Money type from float to int
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user