14.07.2012, 04:24
galera eu baixei o gm do gamerx mais creio q ele seja 0.3d,quando eu vo converte ele pra amx com meu pawno 0.3e ele ta isso:
agora vamos la,linha por linha: (eu postei as 3 linhas na mesma frase pq й o mesmo warn!)
gamerx.pwn(5174/10185/10676) : warning 219: local variable "px" shadows a variable at a preceding level
gamerx.pwn(5174/10185/10676) : warning 219: local variable "py" shadows a variable at a preceding level
gamerx.pwn(5174/10185/10676) : warning 219: local variable "pz" shadows a variable at a preceding level
linha 5174/10185/10676
gamerx.pwn(16414) : error 017: undefined symbol "strtok"
gamerx.pwn(16414) : error 033: array must be indexed (variable "cmd")
linha 16414:
(na public OnPlayerCommandText(playerid, cmdtext[])
gamerx.pwn(16433) : error 017: undefined symbol "strtok"
gamerx.pwn(16433) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(16440) : error 017: undefined symbol "strtok"
gamerx.pwn(16440) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(1663 : error 017: undefined symbol "strtok"
gamerx.pwn(1663 : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17223) : error 017: undefined symbol "strtok"
gamerx.pwn(17223) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17233) : error 017: undefined symbol "strtok"
gamerx.pwn(17233) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17235) : error 017: undefined symbol "strtok"
gamerx.pwn(17235) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(18583) : error 017: undefined symbol "strtok"
todas essas linhas a frase й :
ja o problema do YSI eu nao sei oque й mesmo,no meu sv editado do sampforever nao da nenhum desses erros :S
Код:
C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(1866) : warning 219: local variable "parent" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2742) : error 021: symbol already defined: "AttachObjectToObject" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2749) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2751) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2759) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2759) : error 021: symbol already defined: "Object_GetPos" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2760) : error 021: symbol already defined: "Object_GetPos" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2763) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2765) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2768) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2781) : error 010: invalid function or declaration C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2908) : warning 219: local variable "parent" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(2938) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(3250) : warning 219: local variable "px" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(3251) : warning 219: local variable "py" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\pawno\include\YSI/Visual/YSI_objects.own(3252) : warning 219: local variable "pz" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(5174) : warning 219: local variable "px" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(5174) : warning 219: local variable "py" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(5174) : warning 219: local variable "pz" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10185) : warning 219: local variable "px" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10185) : warning 219: local variable "py" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10185) : warning 219: local variable "pz" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10676) : warning 219: local variable "px" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10676) : warning 219: local variable "py" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(10676) : warning 219: local variable "pz" shadows a variable at a preceding level C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16414) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16414) : error 033: array must be indexed (variable "cmd") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16433) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16433) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16440) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16440) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16638) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(16638) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17223) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17223) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17233) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17233) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17235) : error 017: undefined symbol "strtok" C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(17235) : error 033: array must be indexed (variable "tmp") C:\Documents and Settings\Administrador\Meus documentos\Downloads\SAMPFOREVER\gamemodes\gamerx.pwn(18583) : error 017: undefined symbol "strtok" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
gamerx.pwn(5174/10185/10676) : warning 219: local variable "px" shadows a variable at a preceding level
gamerx.pwn(5174/10185/10676) : warning 219: local variable "py" shadows a variable at a preceding level
gamerx.pwn(5174/10185/10676) : warning 219: local variable "pz" shadows a variable at a preceding level
linha 5174/10185/10676
Код:
new Float:px,Float:py,Float:pz;
gamerx.pwn(16414) : error 033: array must be indexed (variable "cmd")
linha 16414:
Код:
cmd = strtok(cmdtext, idx);
gamerx.pwn(16433) : error 017: undefined symbol "strtok"
gamerx.pwn(16433) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(16440) : error 017: undefined symbol "strtok"
gamerx.pwn(16440) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(1663 : error 017: undefined symbol "strtok"
gamerx.pwn(1663 : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17223) : error 017: undefined symbol "strtok"
gamerx.pwn(17223) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17233) : error 017: undefined symbol "strtok"
gamerx.pwn(17233) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(17235) : error 017: undefined symbol "strtok"
gamerx.pwn(17235) : error 033: array must be indexed (variable "tmp")
gamerx.pwn(18583) : error 017: undefined symbol "strtok"
todas essas linhas a frase й :
Код:
tmp = strtok(cmdtext, idx);