[Help] Equals, Higher or Lower.

Discussion in 'Plugin Development' started by feff890, Dec 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    feff890

    So I'm making an economy plugin and I am looking for a way to let people buy stuff.
    Just say they wanted to buy something for $6:
    The plugin would check if they had $6 or higher and then give them they're stuff they bought.
    I basically need a method to check if they have a certain amount of money or higher.
    Thanks!
     
  2. Offline

    WesJD

  3. Offline

    leon3001

    Code:
    if(money >= price){
    //do stuff
    }
    Took years to figure out.
     
  4. Offline

    feff890

    @leon3001
    Thanks! Ill check if this works now.
     
Thread Status:
Not open for further replies.

Share This Page