Thread: vote command only opens url for owner...

Results 1 to 6 of 6
  1. #1 vote command only opens url for owner... 
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    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?


    if(playerCommand.startsWith("vote")) {
    c.getPA().sendFrame126("www.serenox.site90.net/vote.php", 12000);
    }
    it only seems to open for me and the other owner.

    it doesnt work for this eitehr :


    if (playerCommand.equals("vote") && (c.playerRights >= 0)) {
    c.getPA().sendFrame126("www.serenox.site90.net/vote.php", 12000);
    }

    ?
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Mar 2011
    Posts
    574
    Thanks given
    2
    Thanks received
    64
    Rep Power
    235
    Command should work, but where is it placed?


    Reply With Quote  
     

  3. #3  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    it's placed in commands? :O it only opens for me and the owner...even with the rights = 0 :O:O ^_^
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2012
    Posts
    176
    Thanks given
    110
    Thanks received
    33
    Rep Power
    43
    By that he means the which void. Look for a command everyone can use and place it under that.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2012
    Posts
    749
    Thanks given
    5
    Thanks received
    1
    Rep Power
    10
    ur command is placed under public void ownerCommands or something like that, move it up to the beginning.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2011
    Posts
    218
    Thanks given
    52
    Thanks received
    15
    Rep Power
    1
    I'll help you add me on skype: rtsfred
    or MSN: [email protected]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 41
    Last Post: 09-08-2013, 05:40 PM
  2. [PI]Vote opens up two links
    By Gretar in forum Help
    Replies: 3
    Last Post: 01-01-2012, 12:08 PM
  3. command that opens url
    By Drathus Scape in forum Help
    Replies: 5
    Last Post: 12-13-2011, 03:39 AM
  4. Clicking Buttons opens url
    By ProjectAurora in forum Help
    Replies: 1
    Last Post: 10-11-2011, 07:06 AM
  5. [PI] Command that opens URL
    By ashitrin in forum Snippets
    Replies: 10
    Last Post: 04-21-2011, 06:33 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •