Integers Help

Discussion in 'Plugin Development' started by KaiPol, Dec 6, 2013.

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

    KaiPol

    Hello could someone please explain integers to me? I am pretty new to Java and I've tried making integers and adding ++; to it but when I try to send it back to the player it gives me back 1(over and over). I am setting the integers to 0 each time but if I don't I get an error.
     
  2. Offline

    Gater12

    KaiPol What are you trying to do?
     
  3. Offline

    cummo15

    KaiPol So you're setting it to 0 every time and then adding 1 to it and wondering why you always get 1 back?
     
  4. Offline

    Wolfey

    integer++ will add 1 to it everytime. I don't know exactly what you're saying.
     
  5. Offline

    Rocoty

    First. Don't just say "it doesn't work". Show us your attempt and let us guide you through it.
    Second. This is not the place for basic java help. Try some tutorials or the java ranch
     
Thread Status:
Not open for further replies.

Share This Page