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



Skin Advanced - LoostGamer - 16.11.2012

Baixei o Sistema De Skin Advanced do Sky_., mas ele veio em DINI, ai converti em DOF2 e deu estes erros ai:

pawn Код:
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(702) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(775) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(830) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(845) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(852) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(859) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(866) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(873) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(880) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(887) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(894) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(901) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(908) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1013) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1167) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1240) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1393) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1439) : warning 219: local variable "file" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


27 Warnings.
Precisam das linhas referentes aos erros?


Respuesta: Skin Advanced - Parka - 16.11.2012

Isso significa que vocк tem duas variбveis

xemplo

PHP код:
#include a_samp
new Variable;
public 
OnPlayerConnectplayerid )
{
new 
Variable;
    
    return 
1;




Re: Skin Advanced - VenoN - 16.11.2012

no FS tem um new file apague


Re: Skin Advanced - LoostGamer - 16.11.2012

Nгo tenho duas variбveis, e quando eu deleto o new file olha os erros:

pawn Код:
C:\Users\admin\Documents\SERVIDOR CFP\filterscripts\Skins.pwn(208) : error 017: undefined symbol "file"
C:\Users\admin\Documents\SERVIDOR CFP\filterscripts\Skins.pwn(208) : error 017: undefined symbol "file"
C:\Users\admin\Documents\SERVIDOR CFP\filterscripts\Skins.pwn(208) : error 029: invalid expression, assumed zero
C:\Users\admin\Documents\SERVIDOR CFP\filterscripts\Skins.pwn(208) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Linha 208:
pawn Код:
format(file, sizeof(file), PASTA_CONTAS);



Re: Skin Advanced - Coreia - 16.11.2012

Cara esse erro ai e da include nao do gm

C:\Users\admin\Documents\SERVIDOR CFP\pawno\include\DOF2.inc(1240) : warning 219: local variable "file" shadows a variable at a preceding level


Re: Skin Advanced - LoostGamer - 16.11.2012

Tenho que baixar outro DOF2.inc ?


Re: Skin Advanced - Sky™ - 16.11.2012

ee cara

apague o
pawn Код:
new file[128];
do topo e emcima da linha do erro

pawn Код:
format(file, sizeof(file), PASTA_CONTAS);
coloque new file[128];
assim

pawn Код:
new file[128];
format(file, sizeof(file), PASTA_CONTAS);

espero ter ajudado Logo terб versгo melhorada deste FS!


Re: Skin Advanced - LoostGamer - 16.11.2012

Poatz, seu FS й muito bom, erro arrumado


Respuesta: Skin Advanced - Parka - 16.11.2012

folhas o que este em o include

elimina o que vocк tem em o GM


Re: Respuesta: Skin Advanced - Maklister - 16.11.2012

Quote:
Originally Posted by cesar_******
Посмотреть сообщение
folhas o que este em o include

elimina o que vocк tem em o GM
What ? kkk'