Not tested just how i would do it
PHP Code:
case "@award":
{
if (Client.Login_Status == Client.LoginStatus.Admin)
switch (args[1])
{
case "cps":
{
// stick code here for player or all
Client.CPS = ushort.Parse(args[2]);
Sync.CPS(Client);
break;
}
case "money":
{
// stick code here for all player or sepic @award money all or @award money <player name>
Client.Money = ushort.Parse(args[2]);
Sync.Money(Client);
break;
}
}
else
Global.Message("You are not allowed to use this command sorry!!!!", 0xffffff, MessageType.Center);
break;
}