Thread: Need litle help whit pi command.

Results 1 to 4 of 4
  1. #1 Need litle help whit pi command. 
    Registered Member
    aivaroza4's Avatar
    Join Date
    Apr 2011
    Age
    27
    Posts
    132
    Thanks given
    57
    Thanks received
    3
    Rep Power
    79
    Hi guys, i have ths command:
    Code:
    			if (playerCommand.equals("startgame") && c.playerRights <= 3) {
    				c.cmdBook8();
    			}
    This command shows interface,but i only can use this command.
    I want when i use this command,that interface shows not only for me,but all who are online.
    Thanks in advance.
    LITHUANIA
    Reply With Quote  
     

  2. #2  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    Code:
    if (playerCommand.equals("startgame") && c.playerRights <= 3) {
    				c.cmdBook8();
                                                                    c2.cmdBook8();
    }
    check that out
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jun 2009
    Posts
    2,916
    Thanks given
    169
    Thanks received
    806
    Rep Power
    0
    Quote Originally Posted by l0lc0pt3r View Post
    Code:
    if (playerCommand.equals("startgame") && c.playerRights <= 3) {
    				c.cmdBook8();
                                                                    c2.cmdBook8();
    }
    check that out
    add the client c2 method.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Mar 2010
    Posts
    121
    Thanks given
    12
    Thanks received
    9
    Rep Power
    24
    Quote Originally Posted by aivaroza4 View Post
    Hi guys, i have ths command:
    Code:
    			if (playerCommand.equals("startgame") && c.playerRights <= 3) {
    				c.cmdBook8();
    			}
    This command shows interface,but i only can use this command.
    I want when i use this command,that interface shows not only for me,but all who are online.
    Thanks in advance.
    You're going to need to loop through all online players and call the cmdBook8() method.
    Also was it intentional that you did playerRights <= 3 (Thats LESS THAN OR EQUAL TO THREE (3) ) So normals could use that command.
    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. Ned litle help.
    By aivaroza4 in forum Help
    Replies: 10
    Last Post: 06-06-2011, 12:42 PM
  2. Replies: 12
    Last Post: 03-13-2009, 06:57 PM
  3. ok i need help whit one stubid command
    By minutes in forum Help
    Replies: 7
    Last Post: 02-15-2009, 11:15 PM
  4. Replies: 4
    Last Post: 12-04-2008, 08:08 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
  •