Thread: [pi] command error

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 [pi] command error 
    Registered Member
    Join Date
    Feb 2010
    Posts
    130
    Thanks given
    3
    Thanks received
    1
    Rep Power
    2
    commands error










    guessing something to do with this?


    if (c.playerRights >= 0)
    playerCommands(c, playerCommand);
    if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 4 || c.playerRights == 3)
    ModeratorCommands(c, playerCommand);
    if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    AdministratorCommands(c, playerCommand);
    if (c.playerRights == 3 || c.playerRights == 4)
    OwnerCommands(c, playerCommand);
    if (c.playerRights == 4)
    DonatorCommands(c, playerCommand);
    }
    Reply With Quote  
     

  2. #2  
    Donator

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,804
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    Image is tiny. Can you copy and paste the error?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2010
    Posts
    130
    Thanks given
    3
    Thanks received
    1
    Rep Power
    2
    i reuploaded the picture
    Reply With Quote  
     

  4. #4  
    Extreme Donator [pi] command error Market Banned



    Join Date
    Dec 2010
    Age
    25
    Posts
    6,060
    Thanks given
    1,692
    Thanks received
    1,238
    Rep Power
    1765
    Dont double post.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2010
    Posts
    130
    Thanks given
    3
    Thanks received
    1
    Rep Power
    2
    other one was an accident...
    Reply With Quote  
     

  6. #6  
    Donator

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,804
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    What is with the bracket at the bottom of the code you posted?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2010
    Posts
    130
    Thanks given
    3
    Thanks received
    1
    Rep Power
    2
    not to sure, il just post this so u can see a bit bigger..

    if (c.playerRights >= 0)
    playerCommands(c, playerCommand);
    if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 4 || c.playerRights == 3)
    ModeratorCommands(c, playerCommand);
    if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
    AdministratorCommands(c, playerCommand);
    if (c.playerRights == 3 || c.playerRights == 4)
    OwnerCommands(c, playerCommand);
    if (c.playerRights == 4)
    DonatorCommands(c, playerCommand);
    }


    public void playerCommands(Client c, String playerCommand)
    {
    if(playerCommand.startsWith("withdraw")) {
    String[] cAmount = playerCommand.split(" ");
    Reply With Quote  
     

  8. #8  
    Donator

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,804
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    There is an extra bracket somewhere...
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2010
    Posts
    130
    Thanks given
    3
    Thanks received
    1
    Rep Power
    2
    hang on, i have more errors i ddint se one sec let me edit the thread
    Reply With Quote  
     

  10. #10  
    Donator

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,804
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    Alright I'll see what the problem is.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •