package NewPackage
{
function wheeledVehicle::damage(%this, %obj, %sourceObject, %position, %damage, %damageType)
{
Parent::damage(%this, %obj, %sourceObject, %position, %damage, %damageType)
centerPrint(%obj.getMountedObject(0).client,"<just:right><color:ffffff>Vehicle: <color:00ff00>" @ (1-%obj.getDamagePercent())*100 @ "%",3);
}
};
activatePackage(NewPackage);
1. Chrono your ideas are as good as your add-ons, I like the right aligned thing.
2. Thank god for Package/Syntax Tutorial or else I would have had no idea what to do
3. I tried executing it but the console doesn't like it. Can someone help me wrap this up?
4. why won't simply %obj.driver.client work?