Jump to content
  • 0

AJUTOR va rog mult!


HayaT

Question

Salut primesc errori al compilare imi zice cineva cum sa scap de ele va rog?:(

C:\Documents and Settings\Calculator\Desktop\test server\pawno\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(18366) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(18366) : error 033: array must be indexed (variable "cmd")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19227) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19227) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19823) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19823) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19831) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(19831) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20221) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20221) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20255) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20255) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20419) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20419) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20445) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20445) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20594) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20594) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20734) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(20734) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(21827) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(21827) : error 033: array must be indexed (variable "x_nr")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(22131) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(22131) : error 033: array must be indexed (variable "tmp")

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(22184) : error 017: undefined symbol "strtok"

C:\Documents and Settings\Calculator\Desktop\test server\gamemodes\KrYpTonLuca.pwn(22184) : error 033: array must be indexed (variable "tmp")

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

26 Errors.

VA ROG MULT AJUTATI-MA SA SCAP DE ELE :((

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Nu e facut de mine e facut de StuntMan ( respect ) . Adauga asta la sfarsitul modului tau si gata .

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

Nu e facut de mine e facut de StuntMan ( respect ) .

Nu e facut de mine, ci de DracoBlue (parca).

Petru multumesc enorm de mult iar,raman dator trg add <remove> poate o sa mai am nevoie de ajutor :)

Edit by -=[Vyorel]=-: Fara ID-uri.

Termina cu cererile de ID-uri, sau macar nu mai da flood celor care nu te ajuta!
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.