[Ajuda] Comandos /Contar..
#8

Bom, Uso esse FilterScript - Code no meu Servidor, E não vejo problema nele, Caso dar um Confronto entre esse Comando (Original Acima) troque-o para um Qualquer, E coloque esse Code no seu GameMode:

pawn Код:
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    #include <a_samp>
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    forward count3();
    forward count2();
    forward count1();
    forward countgo();
    new bool:a;
    new Float:X, Float:Y, Float:Z;
    #else
    #endif
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public OnPlayerCommandText(playerid, cmdtext[])
    {
       if(strcmp(cmdtext,"/contar",true) == 0) {
       new pName[30];
       new string[256];
       if (a == false)
       {
       a = true;
       GetPlayerName(playerid, pName, 30);
       format(string, 280, "*** %s started count.", pName);
       SendClientMessageToAll(COLOR_LIGHTBLUE, string);
       for(new i; i < MAX_PLAYERS; i++) {
       GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
       GetPlayerPos(i,X,Y,Z);
       }
       SetTimer("count3",1000,0);
       SetTimer("count2",2000,0);
       SetTimer("count1",3000,0);
       SetTimer("countgo",3500,0);

       }
       else SendClientMessage(playerid, 0xFF9900AA, "Its allready started!");
       return 1;
       }

       return 0;
    }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public count3()
    {
       for(new i; i < MAX_PLAYERS; i++) {
       GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
       GetPlayerPos(i,X,Y,Z);
       }
    }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public count2()
    {
       for(new i; i < MAX_PLAYERS; i++) {
       GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 2 ~g~-",1000,3);
       GetPlayerPos(i,X,Y,Z);
       }
    }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public count1()
    {
       for(new i; i < MAX_PLAYERS; i++) {
       GetPlayerPos(i,X,Y,Z);
       GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~ 1 ~g~-~y~]~g~-",1000,3);
       PlayerPlaySound(i,1057,X,Y,Z);
       }
    }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public countgo()
    {
       for(new i; i < MAX_PLAYERS; i++) {
       GetPlayerPos(i,X,Y,Z);
       GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~ GO GO GO ~g~-~y~]~g~-",1000,3);
       PlayerPlaySound(i,1057,X,Y,Z);
       }
    }
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Reply


Messages In This Thread
Comandos /Contar.. - by Brunooh - 27.08.2013, 20:56
Re: Comandos /Contar.. - by Samuel300 - 27.08.2013, 21:52
Re: Comandos /Contar.. - by Brunooh - 27.08.2013, 22:10
Re: Comandos /Contar.. - by Sti - 28.08.2013, 00:18
Re: Comandos /Contar.. - by Brunooh - 28.08.2013, 00:40
Re: Comandos /Contar.. - by Sti - 28.08.2013, 01:09
Re: Comandos /Contar.. - by Brunooh - 28.08.2013, 01:18
Re: Comandos /Contar.. - by Sti - 28.08.2013, 01:20
Re: Comandos /Contar.. - by Brunooh - 28.08.2013, 01:24
Re: Comandos /Contar.. - by JesterAnkes - 28.08.2013, 01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)