int to boolean mismatch?

Discussion in 'Plugin Development' started by NNickey, Jun 14, 2012.

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

    NNickey

    if(warn=~10) {
    int warn=0;

    If warn is not equal to 10 then do blah in { }`s
     
  2. Offline

    Mitsugaru

    Maybe you meant the following:
    Code:
    if(warn != 10)
    {
    //Do stuff
    }
     
    Jeff.Halbert and Dino Filippini like this.
Thread Status:
Not open for further replies.

Share This Page