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



include zcmd - Freak@ - 19.07.2013

Fiz a conversгo dos meus comandos que tava em strcmp para zcmd usando o conversor do rjjj mas deu alguns erros abaixo sera porque?.
https://sampforum.blast.hk/showthread.php?tid=331410

ERROS
Quote:

C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(265) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(271) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(319) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(330) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(330) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(377) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(562) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(681) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(68 : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(711) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(784) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(839) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(854) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(861) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(86 : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(875) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(882) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(889) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(896) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(903) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(910) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(917) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(1022) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(1176) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(1249) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(1402) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\dof2. inc(144 : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\pawno\include\serve rmoneyGM.inc(84) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\lucass\Desktop\GMS\GM\gamemodes\bmg.pwn(7 71) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\gamemodes\bmg.pwn(9 19) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\lucass\Desktop\GMS\GM\gamemodes\bmg.pwn(9 66) : warning 219: local variable "file" shadows a variable at a preceding level




Re: include zcmd - clerISoN - 19.07.2013

Existe varias variбveis iguais "file", eu acho ne.


Re: include zcmd - focaximubh - 19.07.2013

Provavelmente vocк fez uma alteraзгo DENTRO DO GAME MODE(.pwn) e nгo colocou uma { } abrindo ou fechando ou fechando a mais tipo

pawn Код:
if(basfqwf)
{
if(asfasffas)
{
//codigo
}
}
}