Okay Guys Has u bet u seen my shops unlocker system Befor Well it did not work out right so i was gonna recode it Better i got this 1 prob ive tryed to fix
Santa is the guy U talk to unlock the shops
as Shop in santa is Godsword shop
i added Godsword Shop,
and i put a messed like this
if u have not unlocked the shop u get this message on Godsword shop = npc 746
sM("You cannot Open Godsword shop Talk to ~Santa~ to unlock Shop");
But the funny thing is Wen i Open The santa Shop that message Comes up i only Want it to come up on the Godsword Shop
Well Heres the Code i used
Santas NpcDialogue Send
Code:
if(NPCID == 1552) {
if(isclangame == false) {
NpcDialogue = 6666;
NpcDialogueSend = false;
} else {
}
}
Godsword Shop Code
Code:
if(NPCID == 736 && q5 == 1){
PutNPCCoords = true;
WanneShop = 100;
sM("You Enter the Godsword Shop");
} else {
sM("You cannot Open this shop Talk to ~santa~ at home to unlock this shop");
}
Ive also Tryed Adding Brake; To the code did nothing
wen Talking to santa
Code:
case 6666:
choice5("Dragon shop (10)","Bandos shop (15)","Range Shop (25)","Mage Shop (30)","GodSword shop (35)");
break;
now for the Code in Mostclicking
Code:
if (c.NpcDialogue == 6666) {
if (c.inCombat) {
c.sM("You cannot teleport in combat!");
break;
}
c.closeAll();
if (c.pkpoints >= 35) {
c.pkpoints -= 35;
c.q5 = 1;
c.sM("You have unlocked The Godsword shop" + c.pkpoints + " pk points. Left");
c.yell("@red@" + c.playerName + " @blu@Has unlock Godsword Shop");
} else {
c.sM("You don't have enough pk points, you have " + c.pkpoints + " pk points.");
}
}
I just Want to get Rid of Wen i open Santa to Unlock shops the message
Code:
sM("You cannot Open this shop Talk to ~santa~ at home to unlock this shop");
comes up Any ideas?