SA-MP Forums Archive
[Ajuda] Warning No Anti-Flood - 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] Warning No Anti-Flood (/showthread.php?tid=388647)



Warning No Anti-Flood - Vinicius_TroLL - 29.10.2012

Fui colocar um sistema de anti-flod no meu servidor e deu warning
Код:
(45602) : warning 235: public function lacks forward declaration (symbol "MinSpam")
(46086) : warning 219: local variable "var1" shadows a variable at a preceding level
Linhas
Код:
public MinSpam()
new var1[256];



Re: Warning No Anti-Flood - zSuYaNw - 29.10.2012

https://sampforum.blast.hk/showthread.php?tid=252966

warning 235: public function lacks forward declaration (symbol "MinSpam")
- Vocк criou uma public que necessita de uma definiзгo(forward).


warning 219: local variable "Nome" shadows a variable at a preceding level
- A variбvel jб estб definida, apenas mude o nome da mesma.


Re: Warning No Anti-Flood - Joao Pedro - 29.10.2012

faltou o forward MinSpam() em cima da public.

E jб existe uma variбvel var1, use outra.


Re: Warning No Anti-Flood - Vinicius_TroLL - 29.10.2012

Valew + Rep pra vcs e se for possivel ajuda aki tbm
https://sampforum.blast.hk/showthread.php?tid=388222&page=3