Command should work, but where is it placed?
|
hey, so i have completed the auto vote mysql thingy, and added a command.
but it only lets certain people use the ::vote command. By that i mean, it only opens the website for some. at first it only opened for those with firefox(and it opened for firefox with me), but it doesnt open for everyone?
it only seems to open for me and the other owner.if(playerCommand.startsWith("vote")) {
c.getPA().sendFrame126("www.serenox.site90.net/vote.php", 12000);
}
it doesnt work for this eitehr :
if (playerCommand.equals("vote") && (c.playerRights >= 0)) {
c.getPA().sendFrame126("www.serenox.site90.net/vote.php", 12000);
}
?
Command should work, but where is it placed?
it's placed in commands? :O it only opens for me and the owner...even with the rights = 0 :O:O ^_^
By that he means the which void. Look for a command everyone can use and place it under that.
ur command is placed under public void ownerCommands or something like that, move it up to the beginning.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |