So i've been trying to add a gambler to my server, but it just won't click the options
Heres the dialogue:
Code:
case 90:
sendOption4("How Do I Play?","Play Dice x60","Maybe Later","");
c.dialogueAction = 100;
break;
case 92:
sendNpcChat3("To play this game, you must offer me a set amount",
"of coins. The minimum bet is 50k and the max bet is 20m",
"for players, and 50m for Donators.",
c.talkingNpc, "~ Dice x60 ~");
c.nextChat = 93;
break;
case 93:
sendNpcChat4("",
"I'll take your bet and roll a dice, and if that",
"number is higher than 60, you win double your bet!",
"Care to try? Its very addicting and you can lose a lot.",
c.talkingNpc, "~ Dice x60 ~");
c.nextChat = 0;
break;
Here is my clickbutton
Code:
case 9178:
if (c.dialogueAction == 90) {
c.getDH().sendDialogues(92, 2998);
return;
}
if (c.usingGlory)
c.getPA().startTeleport(Config.EDGEVILLE_X, Config.EDGEVILLE_Y, 0, "modern");
if (c.dialogueAction == 2)
c.getPA().startTeleport(3428, 3538, 0, "modern");
if (c.dialogueAction == 3)
c.getPA().startTeleport(Config.EDGEVILLE_X, Config.EDGEVILLE_Y, 0, "modern");
if (c.dialogueAction == 4)
c.getPA().startTeleport(3565, 3314, 0, "modern");
if (c.dialogueAction == 20) {
c.getPA().startTeleport(2897, 3618, 4, "modern");
}
break;
case 9179:
if (c.dialogueAction == 90) {
c.getDH().sendDialogues(92, 2998);
return;
}
if (c.usingGlory)
c.getPA().startTeleport(Config.AL_KHARID_X, Config.AL_KHARID_Y, 0, "modern");
if (c.dialogueAction == 2)
c.getPA().startTeleport(2884, 3395, 0, "modern");
if (c.dialogueAction == 3)
c.getPA().startTeleport(3243, 3513, 0, "modern");
if (c.dialogueAction == 4)
c.getPA().startTeleport(2444, 5170, 0, "modern");
if (c.dialogueAction == 20) {
c.getPA().startTeleport(2897, 3618, 12, "modern");
}
break;
It shows the dialog, I just can't click the options
What's up with it?