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



Warning DOF2 - Leonaardo - 17.10.2017

Alguem me ajuda com esses Warning ?

[pwn]C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (265) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (271) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (319) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (330) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (330) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (377) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (562) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (681) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (68 : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (711) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (784) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (839) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (854) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (861) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (86 : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (875) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (882) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (889) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (896) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (903) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (910) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (917) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (1022) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (1176) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (1249) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (1402) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Leonardo\Videos\GM\pawno\include\DOF2.inc (144 : warning 219: local variable "file" shadows a variable at a preceding level[/pwn]


Re: Warning DOF2 - Whoo - 17.10.2017

dentro da include existe uma var com o nome file e em seu gm/fs vocк deve ter declaro tambйm uma var com o nome file, vocк pode alterar o nome no gm/fs ou alterar o nome da var na include, deve alterar tambйm em todos os campos onde й utilizada.


Re: Warning DOF2 - Bruno13 - 17.10.2017

Quote:
Originally Posted by Whoo
Посмотреть сообщение
dentro da include existe uma var com o nome file e em seu gm/fs vocк deve ter declaro tambйm uma var com o nome file, vocк pode alterar o nome no gm/fs ou alterar o nome da var na include, deve alterar tambйm em todos os campos onde й utilizada.
Ou tornar a variбvel estбtica, static file;


Re: Warning DOF2 - Leonaardo - 17.10.2017

Obrigado pelas dicas.
Com os comentario de vocкs Dois consegui resolver esse problema!
Usei Static file e resolveu os Warning.

+REP