CHECKPOINTS : warning 202: number of arguments does not match definition
#1

I could not find a topic on this so here it is...

Iv got checkpoints but i get :

Код:
D:\GTA San Andreas\Gamemodes\newcnr.pwn(842) : warning 202: number of arguments does not match definition
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(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(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
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


14 Warnings.
Im still learning ( arn't we all) ...

This is the lines its not liking..
Код:
	///////////////////////////////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;
}
Any Fix or can i use something to ignore the warnings?

Thanks
Reply
#2

Which checkpoint streamer do you use? Can you give a link to it?
Reply
#3

Mmm I don't see any problems here, did you define the checkpoints like:
Код:
#define DRAG_ROB 0
#define CLUCK_ROB 1

//etc


It's Dragsta's Checkpoint streamer
Reply
#4

All there already....

Код:
#define TEAM_CIVILIAN 1
#define TEAM_COPS 2
#define DRAG_ROB 1
#define AMMU_ROB 2
#define BURGER_ROB 3
#define STRIP_ROB 4
#define CLUCK_ROB 5
#define SEX_ROB 6
#define BURGER_ROB2 7
#define HOSPITAL 8
#define BINCO_ROB 9
#define SAND_ROB 10
#define PIZZA_ROB 11
#define AIR_CHECK 12
#define CALG_ROB 13
#define BAR_ROB 14
And its in Crazymax Cops and Robbers game mode.
Reply
#5

PLZ help .... I realy need this.... Is there a code to hid warning... I can't find 1
Reply
#6

if you wanna hide the warnings you could use [pawn]#pragma ...[\pawn]
Reply
#7

Iv seen that but how to use with this warning?
Reply
#8

Do you use any checkpoint streamer include or is this CreateCheckpoint function in your script?

I can't help if I can't see how the CreateCheckpoint function is defined.
Reply
#9

Its in the script.
Reply
#10

Quote:
Originally Posted by Jackster
Its in the script.
Can you show it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)