[FilterScript] [FS] CJAdmin 3.0 - The 'CJ' Admin System
#1

Reply
#2

looks lke Ladmin
Reply
#3

Nice work, looks great!

Quote:
Originally Posted by »ŁegeɾɿĐ«
looks lke Ladmin
No it dosn't. It's only 1201 lines, LAdmin is over 4000 if i remember correctly.
Reply
#4

Quote:
Originally Posted by Aur0nX390
Nice work, looks great!

Quote:
Originally Posted by »ŁegeɾɿĐ«
looks lke Ladmin
No it dosn't. It's only 1201 lines, LAdmin is over 4000 if i remember correctly.
but look at the commands almost the same as ladmin it doesnt matter if its over 4,000 lines he could just remove the trash stuff that tehre no need
Reply
#5

Quote:
Originally Posted by »ŁegeɾɿĐ«
Quote:
Originally Posted by Aur0nX390
Nice work, looks great!

Quote:
Originally Posted by »ŁegeɾɿĐ«
looks lke Ladmin
No it dosn't. It's only 1201 lines, LAdmin is over 4000 if i remember correctly.
but look at the commands almost the same as ladmin it doesnt matter if its over 4,000 lines he could just remove the trash stuff that tehre no need
all the commands were ripped from my own server.
Reply
#6

Код:
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(274) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(297) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(320) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(339) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(361) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(383) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(405) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(426) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(453) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(529) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(555) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(582) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 033: array must be indexed (variable "tmp2")

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


26 Errors.
err?
Reply
#7

Quote:
Originally Posted by Garsino
Код:
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(274) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(297) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(320) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(339) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(361) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(383) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(405) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(426) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(453) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(529) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(555) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(582) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 033: array must be indexed (variable "tmp2")

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


26 Errors.
err?
Код:
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;
}
Reply
#8

Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by Garsino
Код:
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(274) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(297) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(320) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(339) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(361) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(383) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(405) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(426) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(453) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(529) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(555) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(582) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 033: array must be indexed (variable "tmp2")

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


26 Errors.
err?
Код:
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;
}
Код:
Header size:      1656 bytes
Code size:      63896 bytes
Data size:      337848 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4651 cells (18604 bytes)
Total requirements: 419784 bytes
never got this before so IDK what it is :P
Reply
#9

Quote:
Originally Posted by Garsino
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by Garsino
Код:
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(275) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(274) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(298) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(297) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(321) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(320) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(340) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(339) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(362) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(361) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(384) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(383) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(406) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(405) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(427) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(426) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(454) : error 033: array must be indexed (variable "tmp")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(453) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(530) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(529) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(556) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(555) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(583) : error 033: array must be indexed (variable "tmp2")
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(582) : warning 203: symbol is never used: "Index"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 017: undefined symbol "strtok"
C:\Users\Alexander\Desktop\Grand Theft Auto San Andreas\samp\filterscripts\cjadmin.pwn(610) : error 033: array must be indexed (variable "tmp2")

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


26 Errors.
err?
Код:
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;
}
Код:
Header size:      1656 bytes
Code size:      63896 bytes
Data size:      337848 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4651 cells (18604 bytes)
Total requirements: 419784 bytes
never got this before so IDK what it is :P
Ignore it, thats a good thing, Your Welcome for helping you. :P
Reply
#10

for those errors, make sure you have dudb, dutils, and dini.. strtok is already defined in those.

I Never got those errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)