can someone make me a cmd where I can just type /rewardcps all
and it will give cps to all..
Like
/rewardcps 500 all
I use 5017 !! PLZ
and it will give cps to all..
Like
/rewardcps 500 all
I use 5017 !! PLZ
////////CREDITS Go To Pete////////////////
if (Splitter[0] == "/givecps")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Char = (Character)DE.Value;
{
uint NewCPs = uint.Parse(Splitter[1]);
Char.CPs += NewCPs;
SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
}
}
}
////////CREDITS Go To Pete////////////////
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;
}