Problem with GetVehicleHealth
#1

I added this to my CMD:
PHP код:
    new Float:health;
    new 
veh GetPlayerVehicleID(playerid);
    
GetVehicleHealth(vehhealth);
    if(
health >= 650) return SendClientMessage(playeridCOLOR_RED"This vehicle is too damaged!"); 
And everytime i type the CMD it retunrs "This vehicle is too damaged!".When my car has full HP it returns too.Why is that ?
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)