23.05.2013, 08:09
pawn Код:
stock PrintMass()
{
new Float:vehicle_weight;
vehicle_weight = GetVehicleModelInfoAsFloat(Junkyard_Dog, "fMass");
printf("Junkyard_Dog weighs %f Newtons", vehicle_weight);
// or
printf("Junkyard_Dog weighs %f Newtons", GetVehicleModelInfoAsFloat(Junkyard_Dog, "fMass"));
/* ...
... */
return 1;
}