POWN Compiler help ERRORs
#1

Well i ge this :

Код:
D:\GTA San Andreas\Gamemodes\newcnr.pwn(5) : error 010: invalid function or declaration
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(147) : error 001: expected token: "}", but found "-string-"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(148) : error 010: invalid function or declaration
D:\GTA San Andreas\Gamemodes\newcnr.pwn(608) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(609) : warning 217: loose indentation
D:\GTA San Andreas\Gamemodes\newcnr.pwn(609) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(610) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(611) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(612) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(613) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(614) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(615) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(616) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(617) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(618) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(872) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(874) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(875) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(877) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(879) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(881) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(883) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(885) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(1942) : error 047: array sizes do not match, or destination array is too small
D:\GTA San Andreas\Gamemodes\newcnr.pwn(3605) : error 001: expected token: "*/", but found "-end of file-"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(3605) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


19 Errors.
Idk what this means

Here is the full script is some one could compile it for me plz thanks

http://www.lolhosting.info/newcnr.pwn
Reply
#2

/*////////////////////////////////CREDITS////////////////////////////////////////
//Cops and Robbers! 2009/2010
//Made By Crazymax / Jamesbond007
//Dont Remove this Credits**
//Thank You!
//////////////////////////////////////////////////////////////////////////////////

try removing "*/"
Reply
#3

2 down 17 to go... Thanks anyway

Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(143) : error 001: expected token: "}", but found "-string-"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(144) : error 010: invalid function or declaration
D:\GTA San Andreas\Gamemodes\newcnr.pwn(604) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(605) : warning 217: loose indentation
D:\GTA San Andreas\Gamemodes\newcnr.pwn(605) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(606) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(607) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(608) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(609) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(610) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(611) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(612) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(613) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(614) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(856) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(858) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(871) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(873) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(875) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(877) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(879) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(881) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(1938) : error 047: array sizes do not match, or destination array is too small
D:\GTA San Andreas\Gamemodes\newcnr.pwn(3596) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


17 Errors.
Reply
#4

remove

IsNumeric(const string[])
{
for (new i = 0, j = strlen(string); i < j; i++)
{
if (string[i] > '9' || string[i] < '0')
{
return 0;
}
}
return 1;
}

what house system you using?
Reply
#5

At top of your script:

#pragma unused ret_memcpy
Reply
#6

Im using Ahouse..

After removing what Anthony_Brassi said i had more errors..

Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(143) : error 001: expected token: "}", but found "-string-"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(144) : error 010: invalid function or declaration
D:\GTA San Andreas\Gamemodes\newcnr.pwn(604) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(605) : warning 217: loose indentation
D:\GTA San Andreas\Gamemodes\newcnr.pwn(605) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(606) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(607) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(608) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(609) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(610) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(611) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(612) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(613) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(614) : error 017: undefined symbol "AddHouse"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(856) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(858) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(871) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(873) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(875) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(877) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(879) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(881) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(1938) : error 047: array sizes do not match, or destination array is too small
D:\GTA San Andreas\Gamemodes\newcnr.pwn(2115) : error 017: undefined symbol "IsNumeric"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


18 Errors.
Reply
#7

Down to 6 errors now

Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(143) : error 001: expected token: "}", but found "-string-"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(144) : error 010: invalid function or declaration
D:\GTA San Andreas\Gamemodes\newcnr.pwn(845) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(847) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(849) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(851) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(853) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(855) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(857) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(859) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(862) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(866) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(868) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(870) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(1927) : error 047: array sizes do not match, or destination array is too small
D:\GTA San Andreas\Gamemodes\newcnr.pwn(3585) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#8

Post please the lines from 845 - 870 please
Reply
#9

This is the hole section :

Код:
	///////////////////////////////CHECKPOINTS/////////////////////////////////
  CreateCheckpoint(GLOBAL_OWNER_ID, DRAG_ROB, 1940.3191,1017.8076,992.4688);
	SetCheckpointInterior(DRAG_ROB, 10);
 	CreateCheckpoint(GLOBAL_OWNER_ID, CLUCK_ROB, 371.3485,-6.6498,1001.8589);
	SetCheckpointInterior(CLUCK_ROB, 9);
 	CreateCheckpoint(GLOBAL_OWNER_ID, STRIP_ROB, 1215.1404,-12.7778,1000.9219);
	SetCheckpointInterior(STRIP_ROB, 2);
	CreateCheckpoint(GLOBAL_OWNER_ID, BURGER_ROB, 378.5348,-72.0883,1001.5151);
	SetCheckpointInterior(BURGER_ROB, 10);
	CreateCheckpoint(GLOBAL_OWNER_ID, AMMU_ROB, 298.4149,-80.4314,1001.5156);
	SetCheckpointInterior(AMMU_ROB, 4);
	CreateCheckpoint(GLOBAL_OWNER_ID, BURGER_ROB2, 378.4193,-68.5915,1001.5151);
	SetCheckpointInterior(BURGER_ROB2, 10);
  CreateCheckpoint(GLOBAL_OWNER_ID, SEX_ROB, -105.5634,-10.9637,1000.7188);
  SetCheckpointInterior(SEX_ROB, 3);
  CreateCheckpoint(GLOBAL_OWNER_ID, HOSPITAL, 1607.3618,1820.2750,10.8280);
  CreateCheckpoint(GLOBAL_OWNER_ID, BINCO_ROB, 207.5931,-101.3633,1005.2578);
  SetCheckpointInterior(BINCO_ROB, 15);
  CreateCheckpoint(GLOBAL_OWNER_ID, SAND_ROB, 1139.1024,-4.0604,1000.6719);
  SetCheckpointInterior(SAND_ROB, 12);
  CreateCheckpoint(GLOBAL_OWNER_ID, PIZZA_ROB, 376.5511,-115.2914,1001.4922);
  SetCheckpointInterior(PIZZA_ROB, 5);
  CreateCheckpoint(GLOBAL_OWNER_ID, AIR_CHECK, 1685.3970,1448.0449,10.7700);
  SetCheckpointInterior(AIR_CHECK, 0);
  CreateCheckpoint(GLOBAL_OWNER_ID, CALG_ROB, 2152.6143,1599.7460,1006.1732);
  SetCheckpointInterior(CALG_ROB, 1);
  CreateCheckpoint(GLOBAL_OWNER_ID, BAR_ROB, 498.6798,-75.7964,998.7578);
  SetCheckpointInterior(BAR_ROB, 11);
	StartCheckpointSeeking();
	return 1;
}
Reply
#10

Down 2 :

Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
D:\GTA San Andreas\Gamemodes\newcnr.pwn(844) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(846) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(848) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(850) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(852) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(854) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(856) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(858) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(859) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(861) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(863) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(865) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(867) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(869) : warning 202: number of arguments does not match definition
D:\GTA San Andreas\Gamemodes\newcnr.pwn(1926) : error 047: array sizes do not match, or destination array is too small
D:\GTA San Andreas\Gamemodes\newcnr.pwn(3584) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)