Jump to content
  • 0

Eroare...


LosTSouL

Question

Cand incerc sa compilez un GM imi da urmatoarea eroare:

 error 017: undefined symbol "GetPointDistanceToPointExMorph"
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "cmd")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"

Ajutooor!

tumblr_mawvpkU5L61rdlfnuo1_500.gif

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

1. Titlul.

2. Pune in varful scriptului asta:

#pragma unused GetPointDistanceToPointExMorph
3. Pune jos in script asta:
strtok(const stringstrtok[], &index)
{
	new length = strlen(stringstrtok);
	while ((index < length) && (stringstrtok[index] <= ' ')) { index++; }

	new offset = index, result[20];
	while ((index < length) && (stringstrtok[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = stringstrtok[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}

Link to comment
Share on other sites

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.