Jump to content
  • 0

Rezolvat!!!


adelin97

Question

8 answers to this question

Recommended Posts

C:\Documents and Settings\Axinte\Desktop\SP.pwn(220) : error 004: function "SendPlayerFormattedText" is not implemented

C:\Documents and Settings\Axinte\Desktop\SP.pwn(268) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Axinte\Desktop\SP.pwn(268) : error 033: array must be indexed (variable "cmd")

1. Nu ai pus forward SendPlayerFormattedText(<parametrii>);

2. Nu ai definit strtok

3. E din cauza ca n-ai definit strtok (cred), sau e stringul prea mic, pune-l 126, uite strtok:

strtok(const stringstrtok[], &index)
{
	new length = strlen(stringstrtok);
	while ((index < length) && (stringstrtok[index] <= ' '))
	{
		index++;
	}

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

De restu n-am mai dat :]], posteaza liniile 275-295 si precizeaza care sunt liniile 276,281,292

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.