17.09.2011, 14:48
Код:
native GetVehicleHealth(vehicleid, &Float: health);
pawn Код:
new Float: health;
GetVehicleHealth(vehicleid, health);
if (health < 1000.0)
{
// do something
}
native GetVehicleHealth(vehicleid, &Float: health);
new Float: health;
GetVehicleHealth(vehicleid, health);
if (health < 1000.0)
{
// do something
}