Jump to content
  • 0

[OMG] 26 Errors on Compile !


Question

Posted

Buna ziua tuturor. Am o problema, cand incerc sa compilez un GM imi da 26 de erori, dar nu gasesc motivul. Am toate include-urile necesare, nu am modificat nimic la el, dar tot nu merge. De curiozitate l-am intrebat pe cineva daca ii merge sa-l compileze si lui ia mers fara nici o eroare  :shocked: . Intrebarea este, eu de ce nu l-am putut compila si a putut ala din moment ce am compilat amandoi cu acelasi pawno si aceleasi include-uri ?

Mai jos aveti erorile:

C:\Documents and Settings\Ady\Desktop\ftrp\pawno\include\streamer.inc(435) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Ady\Desktop\ftrp\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17301) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17301) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17500) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17500) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17700) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(17700) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18087) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18087) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18141) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18141) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18195) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18195) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18258) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18258) : error 033: array must be indexed (variable "x_nr")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18317) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18317) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18325) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18325) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18400) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18400) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18642) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18642) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18675) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18675) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18708) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Ady\Desktop\ftrp\gamemodes\forteam.pwn(18708) : error 033: array must be indexed (variable "tmp")

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


26 Errors.

5 answers to this question

Recommended Posts

Posted

Nu ai folosit pawno de la respectivul GameMode.

Este de la GM-ul NVL , asa pateam si eu pune pawno oringinal si va merge;).

HostName: [RPG]*|| Ecila Royal Gaming ||*-WIPED

Address:  93.114.82.70:7777

Posted

Dar Pawno-ul original il folosesc. Si nu sunteti si voi atenti putin ? Eu folosesc la compile acelasi pawno cu cel pe care il foloseste o alta persoana. Ei bine acelei persoane nu ii apar erorile si mie da.  :shocked:

Posted

Baga la sfarsit sau unde vrei in GM numai sa nu fie sub un CallBack :

stock 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;
}

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.