Miscellany
public text v1 · immutablenew var = 5; // Per un timer di 5 secondi
new string[255];
new timer = SetTimer("Countdown",1000,1);
forward Countdown(); // Serve per la versione 0.2
public Countdown()
{
if(var == 0)
{
format(string,MAX_STRING,"~r~Via!");
KillTimer(timer);
}
else
{
format(string,MAX_STRING,"%d",var);
var --;
}
GameTextForAll(3,3000,string);
}