Go whine to someone else, 'cause we 'ain't listening to your lies.
I have mining, bounties and woodcutting too!
Look, mining!
%colData = %col.getDataBlock();
%colDataClass = %colData.classname;
if(%col.getDataBlock().getname() $= "brick4x4x4crateData"){
%col.totalHits = %col.totalHits + %rank;
if(%col.totalHits >= %col.rank){
schedule(25000, 0, "RespawnRock", %col.getTransform(), %col.getColorID(), %col.client, %col.rank);
%col.killbrick();
if(%client.money $= ""){
%client.money = 0;
}
%random = getRandom(1,20);
%random2 = getRandom(-5,2);
switch$(%random-%random2){
case -5:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case -4:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case -3:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case -2:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case -1:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case 0:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case 1:
%client.money = %client.money + 5;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Iron pyrites!");
case 2:
%client.money = %client.money + 10;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Rose quartz!");
case 3:
%client.money = %client.money + 15;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Copper ore!");
case 4:
%client.money = %client.money + 20;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Iron ore!");
case 5:
%client.money = %client.money + 45;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Amethysts!");
case 6:
%client.money = %client.money + 30;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Tin ore!");
case 7:
%client.money = %client.money + 50;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Silver ore!");
case 8:
%client.money = %client.money + 55;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Marble!");
case 9:
%client.money = %client.money + 75;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Chromium ore!");
case 10:
%client.money = %client.money + 85;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Jade!");
case 11:
%client.money = %client.money + 100;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Gold ore!");
case 12:
%client.money = %client.money + 125;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Mithril ore!");
case 13:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Rubies!");
case 14:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Topaz!");
case 15:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Saphires!");
case 16:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Emeralds!");
case 17:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Turquoise!");
case 18:
%client.money = %client.money + 175;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Platinum ore!");
case 19:
%client.money = %client.money + 250;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Diamonds!");
case 20:
%client.money = %client.money + 500;
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received some \c3Brilliant diamonds!");
case 21:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
case 22:
messageclient(%obj.client, "","\c2Mined a rock!");
messageclient(%obj.client, "","\c2You received \c3Nothing \c2Unfortunately...");
}
}
}
}
Whats this? Woodcutting? Amazing!
{
%player = %obj.client.player;
%client = %obj.client;
%rank = %obj.client.rpc_choprank;
if(%col.rank $= "")
{
%col.rank= 5;
}
if(%rank $= "")
{
%obj.client.rpc_choprank = 1;
%rank = 1;
}
%colData = %col.getDataBlock();
%colDataClass = %colData.classname;
if(%col.getDataBlock().getname() $= "brickPineTreeData")
{
%col.totalHits = %col.totalHits + %rank;
if(%col.totalHits >= %col.rank)
{
schedule(25000,0,"RespawnTree",%col.gettransform(),%col.getcolorid(), %col.client,%col.rank);
%col.killbrick();
if(%client.money $= ""){
%client.money = 0;
}
%client.money = %client.money + (%col.rank * 3) ;
messageclient(%obj.client, "","\c2Chopped a tree ! \c3($" @ %col.rank * 3 @ ")");
}
return;
}
}
Claiming bounties by arresting people? Wonderful!
if(%col.client.dems > 0){
if(%col.client.cahits == 3){
Jail(%col.client, %col.client.dems);
if(%client.licensetokill == 1){
%col.client.dems = %col.client.dems * 2;
}
%obj.client.money = %obj.client.money + %col.client.dems;
messageClient(%obj.client, '', "\c2You just got\c3 Cash: " @ %col.client.dems @ " \c2for arresting\c3 " @ %col.client.name);
%col.client.cahits = 0;
%col.client.dems = 0;
} else {
%col.client.cahits++;
}
}
Now do you doubt my scripting skills?