[Ajuda] Erro com objetos
#1

Estou com um probleminha aqui com a compilaзгo do meu GameMode
Voltei a jogar e ele estava desatualizado entгo atualizei as include do "streamer" e deu esse negocio ae

Код:
C:\Users\Yury\Desktop\hard\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\Yury\Desktop\hard\pawno\include\streamer.inc(313) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\Yury\Desktop\hard\pawno\include\streamer.inc(336) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\Yury\Desktop\hard\pawno\include\streamer.inc(338) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\Yury\Desktop\hard\gamemodes\hard.pwn(11949) : warning 202: number of arguments does not match definition
C:\Users\Yury\Desktop\hard\gamemodes\hard.pwn(11953) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\Users\Yury\Desktop\hard\gamemodes\hard.pwn(12629) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#2

Ponha as includes do SA-MP 0.3x mais atuais que resolve os erros.
Reply
#3

Deu erro
Reply
#4

Atualizei tudo e agr deu esse erro ai, ta tudo atualizado p 0.3x e com o novo streamer

Код:
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(11949) : warning 202: number of arguments does not match definition
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(11953) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(12629) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(17013) : error 021: symbol already defined: "strtok"
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(17028) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(22618) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(22708) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(22832) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23047) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23072) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23080) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23135) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23186) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(23224) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26775) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26779) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26846) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26853) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26954) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(26981) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27004) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27045) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27077) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27128) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27172) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27278) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27284) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27362) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yury\Desktop\Hard\gamemodes\hard.pwn(27368) : error 047: array sizes do not match, or destination array is too small

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


26 Errors.
Reply
#5

Alguйm??

essa й a linha de erro..

Код:
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;
}
Reply
#6

Vocк pediu ajuda na бrea de dъvidas curtas, eu postei.

http://forum.sa-mp.com/showpost.php?...postcount=5701
Reply
#7

responde lб...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)