SA-MP Forums Archive
[Ajuda] Problemas com erro 33 e erro 17 na mesma linha - 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] Problemas com erro 33 e erro 17 na mesma linha (/showthread.php?tid=384486)



Problemas com erro 33 e erro 17 na mesma linha - Sonik_Paintballer - 12.10.2012

estгo aparecendo os seguintes erros:

Code:
C:\Users\Sonic\Desktop\SAMPFOREVER\pawno\include\SAMsites0.4.inc(360) : error 004: function "OnSamSiteRestarted" is not implemented
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33205) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33205) : error 033: array must be indexed (variable "cmd")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33276) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33275) : warning 203: symbol is never used: "lidx"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33516) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33516) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33539) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33539) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33565) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33565) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33918) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33918) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33925) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(33925) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34450) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34450) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34488) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34488) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34524) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34524) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34564) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34564) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34588) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34588) : error 033: array must be indexed (variable "tmp")
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34610) : error 017: undefined symbol "strtok"
C:\Users\Sonic\Desktop\TESTE VILA\gamemodes\BVOv7.pwn(34610) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
e essas linhas sгo:

Code:
tmp = strtok(cmdtext, idx);
todas essas linhas (3461,34588 e etc) sгo esta mesma frase...oq eu faзo? ja tentei usar search mais ta dificil


Re: Problemas com erro 33 e erro 17 na mesma linha - Life Advanced - 12.10.2012

Coloca no final do Game Mode Tenso '-'
PHP Code:
strtok(const string[], &index)
{
    new 
length strlen(string);
    while ((
index length) && (string[index] <= ' '))
    {
        
index++;
    }
    new 
offset index;
    new 
result[20];
    while ((
index length) && (string[index] > ' ') && ((index offset) < (sizeof(result) - 1)))
    {
        
result[index offset] = string[index];
        
index++;
    }
    
result[index offset] = EOS;
    return 
result;




Re: Problemas com erro 33 e erro 17 na mesma linha - Sonik_Paintballer - 12.10.2012

Obrigado manolo amo vc kkk /zoa agora sу fico 1 erro

Code:
C:\Users\Sonic\Desktop\SAMPFOREVER\pawno\include\SAMsites0.4.inc(360) : error 004: function "OnSamSiteRestarted" is not implemented
vc sabe onde eu posso conseguir essa include ou como resolver essa funзгo nao implementada? :S


Re: Problemas com erro 33 e erro 17 na mesma linha - Life Advanced - 12.10.2012

Include Aqui Click ae


Re: Problemas com erro 33 e erro 17 na mesma linha - Sonik_Paintballer - 12.10.2012

Obrigado,me ajuda na minha ultima questгo ali? =)


Re: Problemas com erro 33 e erro 17 na mesma linha - Life Advanced - 12.10.2012

Quote:
Originally Posted by Sonik_Paintballer
View Post
Obrigado,me ajuda na minha ultima questгo ali? =)
Qual?



Re: Problemas com erro 33 e erro 17 na mesma linha - zSuYaNw - 12.10.2012

"Not" implemented й quando vocк estб usando de forma incorreta,
ou seja, com parвmetros incorretos.