21.10.2012, 07:38
Hey guys i want help in 3dlabel,
How can i blink the 3dlabel health bar when the car's god mod on
How can i blink the 3dlabel health bar when the car's god mod on
public OnPlayerVehicleDamage(playerid,vehicleid,Float:Damage)
{
Update3DTextLabelText(labelid, TheNewColorHere, "Health and Stuff here");
SetTimer("normal", 1000, false); //setting the color back to normal
return 1;
}
forward normal();
public normal()
{
Update3DTextLabelText(labelid, OldColorHere, "Health and Stuff here");
}
forward 3dColorChange(textdraw);
public 3dColorChange(textdraw)
{
Update3DTextLabelText(labelid, ColorHere, "Health and Stuff here");
return 1;
}
public OnPlayerVehicleDamage(playerid,vehicleid,Float:Damage)
{
SetTimerEx("3dColorChange", 5000, true, "s", Example);
return 1;
}