aki teni el conteo exo por yo.
#include <a_samp>
#define COLOR_RED 0xFF0000AA
#pragma tabsize 0
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Cuenta Regresiva Made in Chile");
print("--------------------------------------\n");
return 1;
}
forward Conteo1();
forward Conteo2();
forward Conteo3();
forward Conteo();
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/conteo", cmdtext, true, 10) == 0)
{
SetTimer("Conteo3",1000,0);
SendClientMessageToAll(COLOR_RED, "Conteo en Progreso...");
return 1;
}
return 0;
}
public Conteo3()
{
GameTextForAll("~w~3",1000,6);
SetTimer("Conteo2",1100,0);
}
public Conteo2()
{
GameTextForAll("~w~2",1000,6);
SetTimer("Conteo1",1100,0);
}
public Conteo1()
{
GameTextForAll("~w~1",1000,6);
SetTimer("Conteo",1100,0);
}
public Conteo()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
}
GameTextForAll("~y~Ya!!",1100,6);
}