Jump to content
  • 0

Errors dintr-o data..


CrystyaN

Question

Deci bun sa incepem cu inceputu..

aseara dupa ce am facut ceva prin mod, am dat compile si mia mers totul perfect , acum dimineata cand dau compile fara sa adaug /scot nimic imi da niste erori :-??

D:\SaMp\eGammer\gamemodes\eGamer.pwn(12075) : error 021: symbol already defined: "strtok"
D:\SaMp\eGammer\gamemodes\eGamer.pwn(12090) : error 047: array sizes do not match, or destination array is too small
D:\SaMp\eGammer\gamemodes\eGamer.pwn(16368) : error 047: array sizes do not match, or destination array is too small
D:\SaMp\eGammer\gamemodes\eGamer.pwn(16893) : error 047: array sizes do not match, or destination array is too small
D:\SaMp\eGammer\gamemodes\eGamer.pwn(16955) : error 047: array sizes do not match, or destination array is too small
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;
}

Mai trebe sa va dau ceva?:(

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

deci intra in folderul cu panwo pe care il folosesti tu si dai load la fs tau gm sau ce ai tu acolo si faci cu ala ..............

probabil de ala asta e cred si daka nu e de la asta ...adik stia asa ca rezolv aku erorile

solutia este sa steargi stock strok o stergi si gt

pentru ca mai este deja odata definita

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

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.