SA-MP Forums Archive
[PROBLEMA]ao por incluide - 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: [PROBLEMA]ao por incluide (/showthread.php?tid=199898)



[PROBLEMA]ao por incluide - Xapita_Halls - 16.12.2010

tipo gente eu colco uma incluide e da esses errros:
pawn Код:
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(5833) : warning 235: public function lacks forward declaration (symbol "IsAHelper")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(14288) : warning 213: tag mismatch
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18108) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18108) : error 033: array must be indexed (variable "cmd")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18140) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18140) : error 033: array must be indexed (variable "x_apet")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18261) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(18261) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19507) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19507) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19516) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19516) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19602) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19602) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19640) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19640) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19676) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19676) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19716) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19716) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19740) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19740) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19762) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19762) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19814) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19814) : error 033: array must be indexed (variable "tmp")
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19842) : error 017: undefined symbol "strtok"
C:\Users\B\Desktop\GamerX 3.3b\gamemodes\BrasilPlayTwister.pwn(19842) : error 033: array must be indexed (variable "tmp")

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


26 Errors.



Re: [PROBLEMA]ao por incluide - jhony test - 16.12.2010

Pode falar qual include foi?


AW: [PROBLEMA]ao por incluide - Xapita_Halls - 16.12.2010

foi de inlcuide para tirar objetos invisiveis aqui ta ela<


Re: AW: [PROBLEMA]ao por incluide - jhony test - 16.12.2010

Quote:
Originally Posted by Xapita_Halls
Посмотреть сообщение
foi de inlcuide para tirar objetos invisiveis aqui ta ela<
Vocк coloco б include com esses tantos de "Cуpia de..." ?


Re: [PROBLEMA]ao por incluide - Gustavob - 16.12.2010

Um pouco de traduзгo ajuda..

Код:
Undefined symbol: strtok
ta faltando a maldita stock strtok


Re: [PROBLEMA]ao por incluide - Pierox_ - 17.12.2010

йee, coisa atoa man, igual o gustavo postou acima, coloque ai la pro final do gm, ou junto com outras stocks ( ctrl + f )

Код:
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;
}
e tenta de novo

qualquer coisa, fica sempre de olho ai

http://forum.sa-mp.com/showthread.ph...ighlight=erros

tu ia ler e saber que stock strtok nao tinha ai, e ia procurar por ela