SA-MP Forums Archive
[AJUDA] Quantas warings 'lol' ajuda plz - 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] Quantas warings 'lol' ajuda plz (/showthread.php?tid=214183)



[AJUDA] Quantas warings 'lol' ajuda plz - Comando Thug - 20.01.2011

olhem essas warings:

pawn Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17591) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17604) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17615) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17626) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17645) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17658) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17669) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17686) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17699) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17710) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17727) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17740) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17751) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17768) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17781) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17792) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17809) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17822) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17833) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17850) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17863) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17874) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17891) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17904) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17915) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17932) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17945) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(17956) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(21841) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22406) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22443) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22515) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22589) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22661) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22725) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22787) : warning 216: nested comment
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
alguйm pode me dizer o que estб causando isso?


Re: [AJUDA] Quantas warings 'lol' ajuda plz - Ricop522 - 20.01.2011

Linhas? ._.


Re: [AJUDA] Quantas warings 'lol' ajuda plz - ManoLexuS - 20.01.2011

As warnings 219 ocorrem pq jб estб definido vбrias vezes a mesma variavel, no seu caso string e mod. Existe mais de 1 new string[256]; e mais de 1 new mod[256];

@EDIT [256] й sу exemplo, nгo sei oq vc usa.


Re: [AJUDA] Quantas warings 'lol' ajuda plz - Comando Thug - 20.01.2011

eu tirei mais de 40 warings, sobrou 10 que eu nгo entendi, alguйm pode me explicar? ta ai as warings:
Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\pawno\include\P-STREAMER\PSO\1.0#PSO_LIB\#PSO_ESTRUTURA\PSO_F.FFR(17) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(337) : warning 201: redefinition of constant/macro (symbol "SLOTS")
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(2488) : warning 201: redefinition of constant/macro (symbol "WHITE")
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(21810) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22412) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22484) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22558) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22630) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22694) : warning 216: nested comment
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22756) : warning 216: nested comment
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Warnings.



Re: [AJUDA] Quantas warings 'lol' ajuda plz - oakley - 20.01.2011

@OFF
GM BMG 2.0c estranho ...


Re: [AJUDA] Quantas warings 'lol' ajuda plz - blackwave - 21.01.2011

pawn Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\pawno\include\P-STREAMER\PSO\1.0#PSO_LIB\#PSO_ESTRUTURA\PSO_F.FFR(17) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(337) : warning 201: redefinition of constant/macro (symbol "SLOTS")
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(2488) : warning 201: redefinition of constant/macro (symbol "WHITE")
Ja tem definido isso acima, e vc definiu denovo. Tipo, tem definido o red: #define RED 2. Entao vc redefiniu esses valores do erro

pawn Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(21810) : warning 219: local variable "mod" shadows a variable at a preceding level
Ja tem essa variavel definida.


pawn Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(22756) : warning 216: nested comment
So postando msm pra gente ver X__X !


Re: [AJUDA] Quantas warings 'lol' ajuda plz - Macintosh - 21.01.2011

Quote:
Originally Posted by blackwave
Посмотреть сообщение
pawn Код:
C:\Documents and Settings\.Marcelo\Desktop\BMG v2.0c\gamemodes\BMG.pwn(21810) : warning 219: local variable "mod" shadows a variable at a preceding level
Warning padrгo do thug.
Isso acontece no dialog das armas...


Re: [AJUDA] Quantas warings 'lol' ajuda plz - sergio_xd - 21.01.2011

Quote:
Originally Posted by Lucas Nicolas
Посмотреть сообщение
Warning padrгo do thug.
Isso acontece no dialog das armas...
o thug e todo bugado e mal organizado por isso da isso


Re: [AJUDA] Quantas warings 'lol' ajuda plz - Comando Thug - 21.01.2011

Quote:
Originally Posted by oakley
Посмотреть сообщение
@OFF
GM BMG 2.0c estranho ...
Esse GM jб teve outro nome, saiu por muito tempo e agr vai voltar, eu estou ajudando com uns bugs para poder entregar o gm pro novo dono que era admin do sv antes dele falir... como ele n й scripter ai me chamo pra ajuda, sou iniciante mais sei algumas coisas bбsicas

Quote:
Originally Posted by Lucas Nicolas
Посмотреть сообщение
Warning padrгo do thug.
Isso acontece no dialog das armas...
Sim, confesso que esse gm tem algumas coisas do thug, mais nгo foi feito com base nele sу pra avisar, este GM й autentico.


Re: [AJUDA] Quantas warings 'lol' ajuda plz - Macintosh - 21.01.2011

Brasil Magic Games?
OMG
Esse й thug puro cara...