What is wrong with this line ?
#1

Title says all...i tried different combinations of replacing some (( and )) but failed

pawn Код:
if((floatadd(floatabs(CarVelocity[0]),floatadd(floatabs(CarVelocity[1]), floatabs(CarVelocity[2]))) > 0.300000)
Thanks for the help in advance
Reply
#2

What's wrong with just using normal operators?

pawn Код:
if(floatabs(CarVelocity[0] + CarVelocity[1] + CarVelocity[2]) > 0.3)
Reply
#3

lol i didnt think of that but thanks..im not sure if its working though.
Im working on a way to check if a player jump out of his vehicle at some speed that in real life should hurt alot XD.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)