[Ajuda] Pasta pawno atualizada, erros a vista.
#1

PROBLEMA RESOLVIDO!

Fala galera da fуrum SAMP!
Eu estava editando um GM, daн precisei botar uma DIALOG da versгo 0.3.7.
Botei e deu erro, mas daн pensei: "Essa GM й velha, tenho que atualizar a pasta pawno"

Peguei a atual, e joguei pra minha, substituindo todos os arquivos.
Porйm agora, acontece isso:
Код:
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3492) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3493) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3494) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3495) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3496) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3497) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3498) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3507) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3508) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3509) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(3506) : warning 204: symbol is assigned a value that is never used: "index"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4232) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4232) : error 033: array must be indexed (variable "cmd")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4317) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4317) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4359) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4359) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4623) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4623) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4661) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4661) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4667) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4667) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4704) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4704) : error 033: array must be indexed (variable "tmp")
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4725) : error 017: undefined symbol "strtok"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4725) : error 033: array must be indexed (variable "tmp")

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


26 Errors.
Atй ai tudo bem, procurei por strtok, e deram um cуdigo para botar no final da GM:
Код:
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;
}
Quando botei, e compilei, ele apareceu os seguintes erros:
Код:
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(4359) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(5711) : error 017: undefined symbol "set"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(5717) : error 017: undefined symbol "set"
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(8054) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(8082) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(13239) : warning 217: loose indentation
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(13245) : error 027: invalid character constant
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(13245) : error 027: invalid character constant
C:\Program Files (x86)\Pasta\gamemodes\blp1.pwn(13260) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Alguйm sabe como arrumar?


Atensionamente,
TiiP
Reply


Messages In This Thread
Pasta pawno atualizada, erros a vista. - by tiiP - 19.09.2015, 22:18
Re: Pasta pawno atualizada, erros a vista. - by Nixtren - 19.09.2015, 22:35
Re: Pasta pawno atualizada, erros a vista. - by tiiP - 19.09.2015, 22:41
Re: Pasta pawno atualizada, erros a vista. - by Nixtren - 19.09.2015, 22:47
Re: Pasta pawno atualizada, erros a vista. - by Kamper - 19.09.2015, 22:53
Re: Pasta pawno atualizada, erros a vista. - by Nixtren - 19.09.2015, 22:57
Re: Pasta pawno atualizada, erros a vista. - by tiiP - 19.09.2015, 23:10
Re: Pasta pawno atualizada, erros a vista. - by Nixtren - 19.09.2015, 23:11
Re: Pasta pawno atualizada, erros a vista. - by tiiP - 19.09.2015, 23:17
Re: Pasta pawno atualizada, erros a vista. - by Jimmmy - 19.09.2015, 23:37

Forum Jump:


Users browsing this thread: 2 Guest(s)