2 errors
#1

Код:
F:\Pawno 0.3c\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
F:\SAMP\HDRP.pwn(11112) : warning 209: function "JB_OnPlayerConnect" should return a value
F:\SAMP\HDRP.pwn(32119) : warning 219: local variable "string" shadows a variable at a preceding level
F:\SAMP\HDRP.pwn(32120) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(32974) : error 021: symbol already defined: "strtok"
F:\SAMP\HDRP.pwn(32989) : error 047: array sizes do not match, or destination array is too small
F:\SAMP\HDRP.pwn(44651) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(44694) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(64931) : warning 219: local variable "div" shadows a variable at a preceding level
F:\SAMP\HDRP.pwn(32121) : warning 204: symbol is assigned a value that is never used: "vehicle3Dtext"
F:\SAMP\HDRP.pwn(32116) : warning 204: symbol is assigned a value that is never used: "vehicle_id"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
This are Lines 32973 - 32990
Код:
	return 1;
}
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;
}
I have tried to add #pragma unused strtok but nothing

I have tried to delete strtok(const string[], &index) but Pawno Compiler Library crashed

I don't know what to do

Sorry for my English, this is not the language that i speak
Reply


Messages In This Thread
2 errors - by CaTaLinU - 31.08.2011, 16:03
Re: 2 errors - by [MG]Dimi - 31.08.2011, 16:17
Re: 2 errors - by CaTaLinU - 31.08.2011, 16:18
Re: 2 errors - by [MG]Dimi - 31.08.2011, 16:20
Re: 2 errors - by [MWR]Blood - 31.08.2011, 16:20
Re : 2 errors - by Naruto_Emilio - 31.08.2011, 16:21
Re: 2 errors - by CaTaLinU - 31.08.2011, 16:26

Forum Jump:


Users browsing this thread: 3 Guest(s)