I know it ain't much but what the heck i made cause i had nothing to do
i kinda leeched the idea from a private server but they sold them in a shop they had to get the items to join the guild FBI
you could make a guild named FBI and so on..
Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
bendax3 (RaGEZONE
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 1)
status++;
else
status--;
if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
cm.gainItem(1122005,1);
cm.gainItem(1102035,1);
cm.gainItem(1002304,1);
cm.gainItem(1022009,1);
cm.gainItem(1050050,1);
cm.gainItem(1082231,1);
cm.gainItem(1072****1);
cm.gainItem(1702180,1);
cm.gainMeso(-1337000000);
} else if (status == 1){
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")
cm.gainItem(5220000,10)
} else {
cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
cm.dispose();
}
}
}
Instructions
1. Copy the above code
2. Paste into a notepad
3. Save As <your npc's id>.js
O.R.
1. Download the below file
2. Open it up then click file
3. Click Save As
4. Save As <your npc's id>.js
I would be making more npc upon request in this thread... the npc script will be upload at least 1 day
this is just like a NPC that sell like wizet suit and stuff, then U need that much mesos to buy it.....is like buying wizet suit, just that he said it as FBI suit....xD
and if theres no mesos, it gives items any way and just doesnt take mesos -.-
if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
cm.gainItem(1122005,1)
cm.gainItem(1102035,1)
cm.gainItem(1002304,1)
cm.gainItem(1022009,1)
cm.gainItem(1050050,1)
cm.gainItem(1082231,1)
cm.gainItem(1072****1)
cm.gainItem(1702180,1)
cm.gainMeso(-1337000000)
} else {
cm.sendOk("Your broke");
And the check is like that in my src, i know theres another way like cm.getMeso or something, the get player way is more client efficient
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")[B];[/B]
cm.gainItem(1122005,1)[B];[/B]
cm.gainItem(1102035,1)[B];[/B]
cm.gainItem(1002304,1)[B];[/B]
cm.gainItem(1022009,1)[B];[/B]
cm.gainItem(1050050,1)[B];[/B]
cm.gainItem(1082231,1)[B];[/B]
cm.gainItem(1072111,1)[B];[/B]
cm.gainItem(1702180,1)[B];[/B]
cm.gainMeso(-1337000000)[B];[/B]
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")[B];[/B]
cm.gainItem("5220000,10)[B];[/B]
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 1)
status++;
else
status--;
if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
cm.gainItem(1122005,1);
cm.gainItem(1102035,1);
cm.gainItem(1002304,1);
cm.gainItem(1022009,1);
cm.gainItem(1050050,1);
cm.gainItem(1082231,1);
cm.gainItem(1072111,1);
cm.gainItem(1702180,1);
cm.gainMeso(-1337000000);
} else if (status == 1){
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
cm.gainItem(5220000,10);
} else {
cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
cm.dispose();
}
}
}
}
Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo
Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo
Lols integer check with commas.. =X
Yea not updated.. You're still missing some ; ..
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0){
cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0){
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
if (cm.getMeso() >= 1337000000) {
cm.gainItem(1122005,1);
cm.gainItem(1102035,1);
cm.gainItem(1002304,1);
cm.gainItem(1022009,1);
cm.gainItem(1050050,1);
cm.gainItem(1082231,1);
cm.gainItem(1072****1);
cm.gainItem(1702180,1);
cm.gainMeso(-1337000000);
}else{
cm.playerMessage(1,"You don't have enough mesos");
cm.dispose();
}
} else if (status == 1){
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
cm.gainItem(5220000,10);
cm.dispose();
}
}
}
It have "{" "}" error, I did'nt noticed before..
And, you must be blind Oo, it have like 2/4 missed ";"
The bendanx3 one dose'nt, you may see it, or see this, because I take this from bendanx3 post, he only forget the dispose, and the meso thing where weird.
and if theres no mesos, it gives items any way and just doesnt take mesos -.-
PHP Code:
if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
cm.gainItem(1122005,1)
cm.gainItem(1102035,1)
cm.gainItem(1002304,1)
cm.gainItem(1022009,1)
cm.gainItem(1050050,1)
cm.gainItem(1082231,1)
cm.gainItem(1072111,1)
cm.gainItem(1702180,1)
cm.gainMeso(-1337000000)
} else {
cm.sendOk("Your broke");
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0){
cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0){
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
if (cm.getMeso() >= 1337000000) {
cm.gainItem(1122005,1);
cm.gainItem(1102035,1);
cm.gainItem(1002304,1);
cm.gainItem(1022009,1);
cm.gainItem(1050050,1);
cm.gainItem(1082231,1);
cm.gainItem(1072****1);
cm.gainItem(1702180,1);
cm.gainMeso(-1337000000);
}else{
cm.playerMessage(1,"You don't have enough mesos");
cm.dispose();
}
} else if (status == 1){
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
cm.gainItem(5220000,10);
cm.dispose();
}
}
}
It have "{" "}" error, I did'nt noticed before..
And, you must be blind Oo, it have like 2/4 missed ";"
The bendanx3 one dose'nt, you may see it, or see this, because I take this from bendanx3 post, he only forget the dispose, and the meso thing where weird.
I dont intend to put the meso thing and dispose.. He should do it himself.. O.o lolz.