Thread: Server Message Shouts Not to PlayerRights =3

Results 1 to 2 of 2
  1. #1 Server Message Shouts Not to PlayerRights =3 
    Registered Member
    Join Date
    Jun 2011
    Posts
    118
    Thanks given
    34
    Thanks received
    3
    Rep Power
    32
    Code:
    	public void mymessage() {
    		EventManager.getSingleton().addEvent(new Event() {
    			public void execute(EventContainer c) {
    				sendMessage("[@[email protected]@[email protected]] Hello " +playerName+".Please advertise!.");
    				sendMessage("[@[email protected]@[email protected]] Hello " +playerName+".Website is at, http://NONE ATM");
    				sendMessage("[@[email protected]@[email protected]] Hello " +playerName+".Donate for Extra Stuff");
    	        }
    	    }, 90000); //Change the timers here ;] 
    	};
    my server message gets annoying at times i just wanted to know if i could add some where that wouldnt shout to my account name or if the player rights = 3.

    my account name is Alec.

    thanks hope someone can help
    Reply With Quote  
     

  2. #2  
    Icy Realm Owner
    Icy Whip's Avatar
    Join Date
    May 2007
    Posts
    1,419
    Thanks given
    30
    Thanks received
    35
    Rep Power
    213
    well wherever the void is being called upon do something like this

    change
    Code:
     mymessage();
    to

    Code:
    if(playerRights <= 2) {
    mymessage();
    }
    or whatever your player rights integer is


    side note: to find where the void is being called upon open client.java
    Type ctr + f and search
    Code:
    mymessage();

    cheers
    [Only registered and activated users can see links. ]

    Signature made by Mr. Ervis

    Any questions, MSN me; [Only registered and activated users can see links. ]
    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. PlayerRights From Server.
    By Moronic in forum Help
    Replies: 2
    Last Post: 07-11-2010, 12:52 AM
  2. Replies: 7
    Last Post: 09-22-2009, 10:11 PM
  3. Playerrights
    By Rowan in forum Configuration
    Replies: 8
    Last Post: 05-02-2009, 10:09 PM
  4. Official epic Shouts
    By Mint in forum Chat
    Replies: 23
    Last Post: 04-20-2009, 07:24 AM
  5. Npc Shouts above head from CFG
    By Pandora in forum Tutorials
    Replies: 66
    Last Post: 08-10-2008, 12:55 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
  •