05.08.2016, 13:27
Hi, I tried to format PlayerText: as a intenger but it seems like it gives me tag missmatch.
Code;
Highlighted the error lines.
Code;
PHP код:
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);
}
}
}