SA-MP Forums Archive
[Ajuda] ERROR ClearChatBox - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] ERROR ClearChatBox (/showthread.php?tid=528826)



ERROR ClearChatBox - GustavoG3D - 30.07.2014

Alguem ajuda? Aee Vlw

PHP код:
C:\Users\samsunggu\Desktop\SPS Ls 2014\pawno\include\streamer.inc(487) : warning 219local variable "hitid" shadows a variable at a preceding level
C
:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(3338) : warning 202number of arguments does not match definition
C
:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(8174) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C
:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(8209) : error 017undefined symbol "ClearChatBox"
C:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(56838) : error 021symbol already defined"ClearChatbox"
C:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(57702) : warning 219local variable "sendername" shadows a variable at a preceding level
C
:\Users\samsunggu\Desktop\SPS Ls 2014\gamemodes\SpSOwna2014.pwn(57737) : warning 203symbol is never used"Ficha"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Linha

8209
ClearChatBox(playerid, 20);

56838
{

Comando Todo
PHP код:
stock ClearChatbox(playeridlines)
{
    if(
IsPlayerConnected(playerid))
    {
        for(new 
0linesi++)
        {
            
SendClientMessage(playerid, -1" ");
        }
    }
    return 
1;

Alguem pode ajudar vlw!


Re: ERROR ClearChatBox - MultiKill - 30.07.2014

A stock ClearChatbox jб foi definida.

A variбvel hitid foi definida no topo do Game Mode e dentro de uma callback ( existe uma global e uma local).

Aviso 202: pode estб faltando parвmetros ou com mais parвmetros na funзгo da linha 3338.

warning 209: function "Streamer_OnPlayerDisconnect" : a callback nгo foi retornada a nenhum valor.

warning 219: local variable "sendername" : a variбvel foi definida no topo do Game Mode e dentro de uma callback ( existe uma global e uma local).

warning 203: symbol is never used: "Ficha" : a variбvel nunca й usada.


Re: ERROR ClearChatBox - zSuYaNw - 30.07.2014

Lembrando:

ERRORS
Sгo avisos crнticos que impedem o funcionamento do servidor.


WARNINGS
Sгo avisos que, mesmo com eles o servidor poderб funcionar.. mas com alguma deficiкncia.


Leia meu tуpico:https://sampforum.blast.hk/showthread.php?tid=198684


Re: ERROR ClearChatBox - GustavoG3D - 30.07.2014

Aff nгo Consegui ;[