GetVehicleHealth Help
#4

No problem.

Please also notice that GetVehicleHealth has a '&Float:health' argument, so your code should look something like this:
pawn Код:
new Float:vhealth;
if(GetVehicleHealth(vehicleid, vhealth) > 899 && GetVehicleHealth(vehicleid, vhealth) < 1000)
{
   return 1;
}
Reply


Messages In This Thread
GetVehicleHealth Help - by RichyB - 09.07.2010, 05:22
Re: GetVehicleHealth Help - by Grim_ - 09.07.2010, 05:25
Re: GetVehicleHealth Help - by RichyB - 09.07.2010, 05:26
Re: GetVehicleHealth Help - by Grim_ - 09.07.2010, 05:29
Re: GetVehicleHealth Help - by Grim_ - 09.07.2010, 06:42
Re: GetVehicleHealth Help - by Kar - 09.07.2010, 07:23
Re: GetVehicleHealth Help - by Grim_ - 09.07.2010, 09:05

Forum Jump:


Users browsing this thread: 1 Guest(s)