warning 213: tag mismatch
#1

Код:
C:\Users\tamara\Desktop\PPC_Server[By Dima]\pawno\include\PPC_Common.inc(258) : warning 213: tag mismatch
C:\Users\tamara\Desktop\PPC_Server[By Dima]\pawno\include\PPC_PlayerCommands.inc(2972) : warning 213: tag mismatch
enum:
Код:
enum TSpeedCamera
{
	Text3D:SpeedText,
	RadarIcon,
	Float:CamX, // Holds the X-coordinate of the camera
	Float:CamY, // Holds the Y-coordinate of the camera
	Float:CamZ, // Holds the Z-coordinate of the camera
	Float:CamAngle, // Holds the Angle of the camera
	CamSpeed, // Holds the maximum speed allowed to pass this camera without being caught
	CamObj1, // Holds the reference to the first camera object
	CamObj2
}
PPC_Common.inc(25:
Код:
ACameras[CamID][RadarIcon] = CreateDynamicMapIcon(x, y, z, 20, 0, -1, -1, 500.0);
PPC_PlayerCommands.inc(2972):
Код:
DestroyDynamicMapIcon(RadarIcon);
HELP ME PLEASE
Reply
#2

TSpeedCamera[RadarIcon]

RadarIcon is inside a enum
Reply
#3

what i must doing?
Reply
#4

pawn Код:
ACameras[CamID][TSpeedCamera[RadarIcon]] = CreateDynamicMapIcon(x, y, z, 20, 0, -1, -1, 500.0);
//Line 258
pawn Код:
DestroyDynamicMapIcon(TSpeedCamera[RadarIcon]);
//2972
Reply
#5

ehm no he give me error
Reply
#6

well i dont know if the variable "RadarIcon" is created before the function!
that's what u get for showing only 1 line.
other possibilities are is either ur missing a parameter in CreateDynamicMapIcon or they are not aligned properly.

But it cant be as DestroyDynamicMapIcon only needs 1 parameter. so ur going back to ur enum
Reply
#7

pawn Код:
ACameras[CamID][TSpeedCamera][RadarIcon]
Try this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)