Thread: [PI]Putting something else than 0-1 anywhere

Results 1 to 2 of 2
  1. #1 [PI]Putting something else than 0-1 anywhere 
    Registered Member
    Join Date
    Jan 2011
    Posts
    86
    Thanks given
    1
    Thanks received
    4
    Rep Power
    2
    Hello r-s,
    I've need a little help for the V2 of my serv,

    At the moment in Quest tab the xp-locked status says "0" which means it isn't locked or "1" which means it is locked.
    Now i want that it says:

    when it xp-lock status = 0 than it should say "Unlocked" and when it's locked so 1 it should say "Locked"


    I'll appreciate any help =]=]
    (no spam here)
    Reply With Quote  
     

  2. #2  
    Registered Member Satan666's Avatar
    Join Date
    May 2010
    Posts
    449
    Thanks given
    65
    Thanks received
    100
    Rep Power
    15
    public String getLockStatus() {
    return (expLock == 1) ? "Locked": "unlocked";
    }

    Should work
    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. Putting an X at the end of your name
    By Mrthunder23 in forum Projects
    Replies: 15
    Last Post: 11-23-2010, 02:07 AM
  2. Putting a Server on the Toplist HELP!
    By Flamo in forum Help
    Replies: 2
    Last Post: 08-17-2010, 11:20 AM
  3. Putting yourself in dialogue
    By ToonshortyX in forum Help
    Replies: 1
    Last Post: 05-02-2009, 11:20 PM
  4. Replies: 14
    Last Post: 01-24-2008, 07:25 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
  •