mrlongshen 22 Posted July 6, 2015 (edited) hi, can someone make a simple npc displayed up top 10 user ranking cash point? maybe kiled mob and pvp ? there will 2 selection, mvp or pvp. here the script i'm using - script mvp_rewards -1,{ OnInit: .mobRewardPoints = 1; //MOB CASH POINT .rewardMobIds[1649] = 1; //High Priest Magaleta / High Priest Margaretha .rewardMobIds[1651] = 1; //High Wizard Katrinn / High Wizard Kathryne .rewardMobIds[1646] = 1; //Lord Knight Seyren .rewardMobIds[1650] = 1; //Sniper Shecil / Sniper Cecil .rewardMobIds[1648] = 1; // Whitesmith Harword .rewardMobIds[1647] = 1; // Assassin Cross Eremes .rewardMobIds[1917] = 1; //Wounded Morroc .rewardMobIds[1871] = 1; // Fallen Bishop .rewardMobIds[1768] = 1; // Gloom Under Night .rewardMobIds[1086] = 1; // Golden Thief Bug .rewardMobIds[1832] = 1; // Ifrit .rewardMobIds[1734] = 1; // Kiel D-01 .rewardMobIds[1251] = 1; // Knight of Windstorm .rewardMobIds[1646] = 1; // Lord Knight Seyren .rewardMobIds[1147] = 1; // Maya .rewardMobIds[1650] = 1; // Sniper Shecil .rewardMobIds[1583] = 1; // Tao Gunka .rewardMobIds[1708] = 1; // Thanatos .rewardMobIds[1312] = 1; // Turtle General .rewardMobIds[1751] = 1; // Valkyrie Randgris .rewardMobIds[1685] = 1; // Vesper .rewardMobIds[1511] = 1; // Amon Ra .rewardMobIds[1630] = 1; // Bacsojin .rewardMobIds[1039] = 1; // Baphomet .rewardMobIds[1115] = 1; // Eddga .rewardMobIds[1252] = 1; // Garm .rewardMobIds[1492] = 1; // Incantation Samurai .rewardMobIds[1190] = 1; // Orc Lord .rewardMobIds[1159] = 1; // Phreeoni .rewardMobIds[1658] = 1; // Ygnizem .rewardMobIds[1785] = 1; // Atroce .rewardMobIds[1096] = 1; // Angeling .rewardMobIds[1388] = 1; // Archangeling .rewardMobIds[1795] = 1; // Bloody Knight .rewardMobIds[1874] = 1; // Beelzebub .rewardMobIds[1272] = 1; // Dark Lord .rewardMobIds[1719] = 1; // Datale .rewardMobIds[1389] = 1; // Dracula .rewardMobIds[1112] = 1; // Drake .rewardMobIds[1046] = 1; // Doppelgangger .rewardMobIds[1418] = 1; // Evil Snake Lord .rewardMobIds[1120] = 1; // Ghostring .rewardMobIds[1688] = 1; // Lady Tanee .rewardMobIds[1373] = 1; // Lord of Death .rewardMobIds[1289] = 1; // Maya Purple .rewardMobIds[1150] = 1; // Moonlight Flower .rewardMobIds[1087] = 1; // Orc Hero .rewardMobIds[1038] = 1; // Osiris .rewardMobIds[1157] = 1; // Pharaoh .rewardMobIds[1582] = 1; // Deviling .rewardMobIds[1623] = 1; // RSX 0806 .pvpRewardPoints = 1; end; OnNPCKillEvent: if(.rewardMobIds[killedrid] > 0) { #CASHPOINTS += .mobRewardPoints; dispbottom "You now have " + #CASHPOINTS + " Cash Point" + ((#CASHPOINTS > 1)? "s":"") + "."; announce strcharinfo(PC_NAME) + " killed " + strmobinfo(1, killedrid) + " and earned "+ .mobRewardPoints +" Cash Point" + ((.mobRewardPoints > 1)? "s":"") + ".", bc_all; } end; OnPCKillEvent: #CASHPOINTS += .pvpRewardPoints; dispbottom "You now have " + #CASHPOINTS + " Cash Point" + ((#CASHPOINTS > 1)? "s":"") + "."; mapannounce strcharinfo(PC_MAP), strcharinfo(PC_NAME) + " killed " + rid2name(killedrid) + " and earned " + .pvpRewardPoints +" Cash Point" + ((.pvpRewardPoints > 1)? "s" : "") + ".",bc_map; end;} Edited July 6, 2015 by mrlongshen 1 hannah reacted to this Quote Share this post Link to post Share on other sites
0 rizkiolivia 0 Posted May 13, 2016 Please guys Help Solve This. Bump~ Quote Share this post Link to post Share on other sites
hi,
can someone make a simple npc displayed up top 10 user ranking cash point? maybe kiled mob and pvp ? there will 2 selection, mvp or pvp. here the script i'm using
Share this post
Link to post
Share on other sites