Velocity check
#1

Whats wrong in this check?

pawn Код:
if ((vX == 0.0 || vX == -0.0 || vX == 0.01) && (vY == 0.0 || vY == -0.0 || vY == 0.01) && (vZ == 0.0 || vZ == -0.0 || vZ == 0.01))
I want to check, if vX is 0.0, -0.0, or 0.01, vY is 0.0, -0.0, or 0.01, and vZ is 0.0, -0.0, or 0.01
Reply
#2

"vX == -0.0" ... wtf is this !!!
Reply
#3

doesn't exist 0 negative or positive.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)