[Ajuda] Comando para limpar o chat
#5

Quote:
Originally Posted by yNexus
Посмотреть сообщение
Sim, pois esta como playerid ( no caso quem utilizar o comando ) entгo sу tara limpando o seu chat .
Usei esse seu
Код:
    if(strcmp(cmdtext,"/limparchat", true) == 0) 
    { 
        if(pAdmin[playerid] >= 1) 
        { 
               for(new a = 0; a < 20; a++) 
               { 
                  SendClientMessageToAll(0x33CCFFAA, " "); 
               } 
               return 1; 
        } 
    }
porйm deu esses erros :
Код:
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_PlayerCommands.inc(1) : error 010: invalid function or declaration
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_PlayerCommands.inc(3) : error 010: invalid function or declaration
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_PlayerCommands.inc(5) : error 010: invalid function or declaration
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_PlayerCommands.inc(9) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Linha 1
Код:
    if(strcmp(cmdtext,"/limparchat", true) == 0)
Linha 3
Код:
        if(pAdmin[playerid] >= 1)
Linha 5
Код:
               for(new a = 0; a < 20; a++)
Linha 9
Код:
               return 1;
Reply


Messages In This Thread
Comando para limpar o chat - by Performancetotal - 30.01.2014, 14:13
Re: Comando - by yNexus - 30.01.2014, 14:19
Re: Comando - by Performancetotal - 30.01.2014, 14:38
Re: Comando - by yNexus - 30.01.2014, 14:40
Re: Comando - by Performancetotal - 30.01.2014, 14:42
Re: Comando - by yNexus - 30.01.2014, 14:49
Re: Comando - by Performancetotal - 30.01.2014, 14:54
Re: Comando - by lHesoyaml - 02.02.2014, 21:33
Re: Comando - by Input - 02.02.2014, 21:43
Re: Comando - by kevinho.007 - 02.02.2014, 21:50

Forum Jump:


Users browsing this thread: 3 Guest(s)