stock PlayerTextDrawFadeIn(playerid, PlayerText:textdraw) {
PlayerTextDrawColor(playerid, textdraw, 0x11);
[B] SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, textdraw, 1);[/B]
}
forward FadeInPlayerTextdraw(playerid, PlayerText:textdraw, count);
public FadeInPlayerTextdraw(playerid, PlayerText:textdraw, count) {
switch(count) {
case 1: {
PlayerTextDrawColor(playerid, textdraw, 0x33);
[B] SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, textdraw, 2);[/B]
}
case 2: {
PlayerTextDrawColor(playerid, textdraw, 0x55);
[B] SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, textdraw, 3);[/B]
}
case 3: {
PlayerTextDrawColor(playerid, textdraw, 0x77);
}
}
}
stock PlayerTextDrawFadeIn(playerid, PlayerText:textdraw) {
PlayerTextDrawColor(playerid, textdraw, 0x11);
SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, _:textdraw, 1);
}
forward FadeInPlayerTextdraw(playerid, PlayerText:textdraw, count);
public FadeInPlayerTextdraw(playerid, PlayerText:textdraw, count) {
switch(count) {
case 1: {
PlayerTextDrawColor(playerid, textdraw, 0x33);
SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, _:textdraw, 2);
}
case 2: {
PlayerTextDrawColor(playerid, textdraw, 0x55);
SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, _:textdraw, 3);
}
case 3: {
PlayerTextDrawColor(playerid, textdraw, 0x77);
}
}
}
may be it will help you
PHP код:
|
_:
SetTimerEx("FadeInPlayerTextdraw", 1000, false, "iii", playerid, _:textdraw, 1);