Jump to content
  • 0

Problema Gm Pro Gaming 4.8.4


Question

Posted

Am descarcat gm-ul acesta(Pro-Gaming 4.8.4) de pe forum si da erori la compilare

PG.pwn(211) : error 017: undefined symbol "ret_memcpy"

PG.pwn(22077) : error 017: undefined symbol "strtok"

PG.pwn(22077) : error 033: array must be indexed (variable "cmd")

PG.pwn(22127) : error 017: undefined symbol "strtok"

PG.pwn(22127) : error 033: array must be indexed (variable "tmp")

PG.pwn(22193) : error 017: undefined symbol "strtok"

PG.pwn(22193) : error 033: array must be indexed (variable "tmp")

PG.pwn(22334) : error 017: undefined symbol "strtok"

PG.pwn(22334) : error 033: array must be indexed (variable "tmp")

PG.pwn(22368) : error 017: undefined symbol "strtok"

PG.pwn(22368) : error 033: array must be indexed (variable "tmp")

PG.pwn(22504) : error 017: undefined symbol "strtok"

PG.pwn(22504) : error 033: array must be indexed (variable "tmp")

PG.pwn(22576) : error 017: undefined symbol "strtok"

PG.pwn(22576) : error 033: array must be indexed (variable "tmp")

PG.pwn(22601) : error 017: undefined symbol "strtok"

PG.pwn(22601) : error 033: array must be indexed (variable "tmp")

PG.pwn(22608) : error 017: undefined symbol "strtok"

PG.pwn(22608) : error 033: array must be indexed (variable "tmp")

PG.pwn(22634) : error 017: undefined symbol "strtok"

PG.pwn(22634) : error 033: array must be indexed (variable "tmp")

PG.pwn(22643) : error 017: undefined symbol "strtok"

PG.pwn(22643) : error 033: array must be indexed (variable "tmp")

PG.pwn(22700) : error 017: undefined symbol "strtok"

PG.pwn(22700) : error 033: array must be indexed (variable "tmp")

PG.pwn(22724) : error 017: undefined symbol "strtok"

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

26 Errors.

In caz ca nu-mi merg solutiile va rog sa postati versiunea ce merge la compilare dupa ce reusiti sa scapati de erori

Aici aveti gm-ul:http://www.sendspace.com/file/uaz31s

2 answers to this question

Recommended Posts

Posted

Adauga la inceputul gamemode-ului

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;
}
si
#pragma unused ret_memcpy

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Mersi mult Gireada ca m-ai ajutat am facut exact cum ai zis am pus codul ala la inceput am sters  #pragma unused ret_memcp si acum merge :grin: :smiley: :grin:

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.