Jump to content
  • 0

Question

Posted

C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(10671) : error 017: undefined symbol "CreateButton"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(10672) : error 017: undefined symbol "CreateButton"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(12658) : error 017: undefined symbol "GetDistanceBetweenPlayers"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15608) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15608) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15616) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15616) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15628) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15628) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15705) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15705) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15945) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15945) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15955) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15955) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15986) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(15986) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16031) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16031) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16041) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16041) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16072) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16072) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16169) : error 017: undefined symbol "strtok"
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16169) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\andrei\My Documents\KoG\eMAV RolepLay\gamemodes\NVL.pwn(16199) : error 017: undefined symbol "strtok"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

De la ce sa fie ? ce sa le fac?

userbar6.jpg

2 answers to this question

Recommended Posts

Posted

Pune

#include <yom_buttons>
in varful scriptului si 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;
}

oriunde in script. ( in afara callback-urilor )

Daca nu gasesti yom_buttons, cauta-l pe sa-mp.com.

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.