14.10.2012, 16:49
Hello,i've this code to set at 980.0 the vehicles hp (all vehicles):
But it doesn't work, the vehicles hp are at 1000 instead of 980.
pawn Код:
forward SetVehicleHealthEx(vehicleid,Float:vHealth);
public SetVehicleHealthEx(vehicleid,Float:vHealth)
return SetVehicleHealth(vehicleid,vHealth);
public OnVehicleSpawn(vehicleid)
{
SetTimerEx("SetVehicleHealthEx",500,false,"df",vehicleid,980.0);
return 1;
}