guys need help
#1

Hey guys i want help in 3dlabel,

How can i blink the 3dlabel health bar when the car's god mod on
Reply
#2

well, i think u need OnPlayerVehicleDamage https://sampforum.blast.hk/showthread.php?tid=276059
and in that do this:
pawn Код:
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;
}
pawn Код:
forward normal();
public normal()
{
    Update3DTextLabelText(labelid, OldColorHere, "Health and Stuff here");
}
hope that helps
Reply
#3

My question is how i blink the 3d text not to create it.i already created it
Reply
#4

what if you create a new function like
pawn Код:
forward 3dColorChange(textdraw);
public 3dColorChange(textdraw)
{
    Update3DTextLabelText(labelid, ColorHere, "Health and Stuff here");
    return 1;
}
pawn Код:
public OnPlayerVehicleDamage(playerid,vehicleid,Float:Damage)
{
    SetTimerEx("3dColorChange", 5000, true, "s", Example);
    return 1;
}
it will change the color after 5 seconds
Reply
#5

u dont understand me.Like i created the 3dlabel health for Vehicle okay??

then if the Car is on god mod,it starts blinking
Reply
#6

sorry for spam but can anyone help me in this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)