SA-MP Forums Archive
[Ajuda] Pawno Error 017 undefined symbol - 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] Pawno Error 017 undefined symbol (/showthread.php?tid=390368)



Pawno Error 017 undefined symbol - SirUndead - 05.11.2012

Код:
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(8555) : error 021: symbol already defined: "GetPlayerDistanceToPoint"
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(8564) : warning 202: number of arguments does not match definition
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(12387) : warning 202: number of arguments does not match definition
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(25889) : warning 219: local variable "x2" shadows a variable at a preceding level
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(25889) : warning 219: local variable "y2" shadows a variable at a preceding level
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(25889) : warning 219: local variable "z2" shadows a variable at a preceding level
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(27328) : error 017: undefined symbol "frename"
C:\Users\Vinycius Christian\Desktop\GMs para SAMP\3d\gamemodes\bph.pwn(27337) : error 017: undefined symbol "frename"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Alguem pode me ajudar por favor ?


Re: Pawno Error 017 undefined symbol - arakuta - 05.11.2012

021: Definiu mais de uma vez o sнmbolo GetPlayerDistanceToPoint;
017: new frename; (Dependendo do seu script: global ou local);


Re: Pawno Error 017 undefined symbol - SirUndead - 05.11.2012

Script que vocк diz Global ou Local й o CHAT ? Por que se for, й local.


Re: Pawno Error 017 undefined symbol - arakuta - 05.11.2012

Que chat mano. Script й o "cуdigo" em sн.

NEW й pra criar uma varнavel '-'

https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables

Existem varнaveis GLOBAIS que nгo sгo destruidas nunca, e existe as varнaveis LOCAIS que sгo destruidas na proxima close bracket "}".


Re: Pawno Error 017 undefined symbol - SirUndead - 05.11.2012

E como eu descubro isso ? Eu sу peguei um GM e to tentando arruma-lo.
Sou noob pra Script de SAMP.


Re: Pawno Error 017 undefined symbol - claudiosoares - 06.11.2012

error 021: symbol already defined: "GetPlayerDistanceToPoint" - Simbolo jб definido por favor retire a callback que vocк definiu...

error 017: undefined symbol "frename" - Coloque no topo da sua GM, new frename();

Espero ter ajudado =)


Re: Pawno Error 017 undefined symbol - DouglasRodrigues - 06.11.2012

Quote:
Originally Posted by claudiosoares
Посмотреть сообщение
error 021: symbol already defined: "GetPlayerDistanceToPoint" - Simbolo jб definido por favor retire a callback que vocк definiu...

error 017: undefined symbol "frename" - Coloque no topo da su GM new frename(playerid);

Espero ter ajudado =)
new com playerid nгo existe rapaz .


Re: Pawno Error 017 undefined symbol - claudiosoares - 06.11.2012

Agora estб correto.