Lehet, hogy full hülyeség, de nem tom:
#define MEGJELENITTIME 5
new myTimer;
public OnGameModeInit()
{
myTimer = SetTimerEx(\"szovegtimer\", 1000, true, \"i\", playerid);
return 1;
}
public szovegtimer(playerid)
{
Szamlalo++;
new mp, mp2;
if(Szamlalo == MEGJELENITTIME)
{
TextDrawHideForPlayer(playerid, Textdraw2);
print(\"5 -ik masodperc 2 torlese\");
TextDrawShowForPlayer(playerid,Textdraw3);
TextDrawShowForPlayer(playerid,Textdraw4);
mp = Szamlalo;
return 1;
}
if(Szamlalo == mp+MEGJELENITTIME)
{
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
print(\"10-ik masodperc 3-4 torlese\");
TextDrawShowForPlayer(playerid,Textdraw5);
mp2 = mp+5;
return 1;
}
if(Szamlalo == mp2+MEGJELENITTIME)
{
TextDrawHideForPlayer(playerid, Textdraw5);
print(\"15-ik masodperc, 5-os torlese\");
TextDrawShowForPlayer(playerid,Textdraw6);
TextDrawShowForPlayer(playerid,Textdraw7);
mp3 = mp2+MEGJELENITTIME;
return 1;
}
//És így tovább
return 1;
}