Problem with GetVehicleHealth
#4

You have your sign backwards. Remember in math class when your teacher told you that the 'shark always eats the bigger number because it has more meat' ... that applies here too.

What you have above says that if the health is greater than or equal to 650/1000 it will give that message.

This is what you want:
pawn Код:
if(health <= 650)

EDIT: Dang, he beat me to the answer.
Reply


Messages In This Thread
Problem with GetVehicleHealth - by barts - 28.01.2014, 14:31
Re: Problem with GetVehicleHealth - by Konstantinos - 28.01.2014, 14:34
Re: Problem with GetVehicleHealth - by barts - 28.01.2014, 14:35
Re: Problem with GetVehicleHealth - by jakejohnsonusa - 28.01.2014, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)