Thread: And if character rights statement for actionhandling?

Results 1 to 5 of 5
  1. #1 And if character rights statement for actionhandling? 
    Member And if character rights statement for actionhandling? Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Is it possible? if so how do you set it up...take a look at my shot at it and correct please.

    Thanks in advance.

    Code:
    case 1568:
    if(c.playerRights >= 1); {
    c.sendMessage("Please stand infront of an open seat and pay attention to the podium.");
    c.getPA().movePlayer(3165, 9635, 0);
    }
    break;
    Reply With Quote  
     

  2. #2  
    Donator

    Shonx's Avatar
    Join Date
    Nov 2009
    Age
    28
    Posts
    350
    Thanks given
    9
    Thanks received
    7
    Rep Power
    142
    Quote Originally Posted by Crispytoast View Post
    Code:
    case 1568:
    if(c.playerRights >= 1); {
    c.sendMessage("Please stand infront of an open seat and pay attention to the podium.");
    c.getPA().movePlayer(3165, 9635, 0);
    }
    break;
    Im not sure but all i think you need to remove is the }

    so it would be

    Code:
    case 1568:
    if(c.playerRights >= 1); {
    c.sendMessage("Please stand infront of an open seat and pay attention to the podium.");
    c.getPA().movePlayer(3165, 9635, 0);
    break;
    Cause in actionhandler if u have a } it ends in that, and if u have break then it ends in that.

    Not sure, but try it.
    Reply With Quote  
     

  3. #3  
    Registered Member
    jordan641's Avatar
    Join Date
    Apr 2010
    Posts
    1,807
    Thanks given
    70
    Thanks received
    128
    Rep Power
    189
    Code:
    			case 1568:
    			if(c.playerRights >= 1) {
    				c.getPA().movePlayer(3165, 9635, 0);
    				c.sendMessage("Please stand infront of an open seat and payattention to the podium.");
    			} else {
    			}
    			break;
    Try that
    Reply With Quote  
     

  4. #4  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    TzTok-Jad was the first one to notice the ; after the if-statement!
    And EpicPure was the first one to try something at random...
    Reply With Quote  
     

  5. #5  
    Member And if character rights statement for actionhandling? Market Banned
    Crispytoast's Avatar
    Join Date
    Nov 2010
    Posts
    448
    Thanks given
    19
    Thanks received
    42
    Rep Power
    17
    Quote Originally Posted by TzTok-Jad View Post
    Code:
    			case 1568:
    			if(c.playerRights >= 1) {
    				c.getPA().movePlayer(3165, 9635, 0);
    				c.sendMessage("Please stand infront of an open seat and payattention to the podium.");
    			} else {
    			}
    			break;
    Try that
    Dhonka! du bist Spitze!
    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: 1
    Last Post: 10-20-2010, 09:14 PM
  2. Replies: 14
    Last Post: 08-27-2010, 06:19 AM
  3. Changing character rights?
    By x Amy x in forum Help
    Replies: 9
    Last Post: 07-01-2010, 07:33 PM
  4. Replies: 8
    Last Post: 05-30-2010, 10:52 AM
  5. [508] Character Rights
    By CerdaX in forum Help
    Replies: 9
    Last Post: 05-24-2009, 07:39 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •