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


Messages In This Thread
Velocity check - by BaubaS - 08.09.2012, 16:55
Re: Velocity check - by Jessyy - 08.09.2012, 16:59
Re: Velocity check - by leonardo1434 - 08.09.2012, 17:47

Forum Jump:


Users browsing this thread: 2 Guest(s)