random commit

This commit is contained in:
2019-10-28 16:16:56 +01:00
parent a759b1b273
commit 216a71ae89
3 changed files with 37 additions and 17 deletions

View File

@@ -1261,6 +1261,20 @@ namespace ReallifeGamemode.Server.Commands
}
#endregion
#region ALevel1337
[Command("gotocp", "~m~Benutzung: ~s~/sethandmoney [Target] [Geld]")]
public void CmdAdminGotocp(Client admin)
{
admin.TriggerEvent("getCP");
}
[RemoteEvent("sendCP")]
public void sendCPfunc(Client user, int x, int y, int z)
{
Vector3 pos = new Vector3(x, y, z);
user.Position = pos;
}
[Command("sethandmoney", "~m~Benutzung: ~s~/sethandmoney [Target] [Geld]")]
public void CmdAdminSetUserHandMoney(Client admin, string targetname, int amount)
{