stock GetVehicleHealthEx(vehicleid)
{
new Float:health;
GetVehicleHealth(vehicleid, health);
if (health > 900.0)
{
return health / 10.0; // tag mismatch
}
else return ( health / 10.0 )-(24); // tag mismatch
}
Float: GetVehicleHealthEx(vehicleid)
forward Float: GetVehicleHealthEx(vehicleid);
|
PHP код:
Se for colocar no final do script coloque o cуdigo abaixo no topo: PHP код:
|
|
Код:
stock Float:GetVehicleHealthEx(vehicleid)
{
new Float:health;
GetVehicleHealth(vehicleid, health);
if ( health > 900.0) {
return health / 10.0;
}
else return ( health / 10.0 )-(24);
}
forward Float: GetVehicleHealthEx(vehicleid);
|
stock Float:GetVehicleHealthEx(vehicleid)
{
new Float:health;
GetVehicleHealth(vehicleid, health);
if (health > 900.0)
{
return health / 10.0;
}
else return ( health / 10.0 )-(24);
}