Compiling Error!
#1

I Get



Quote:

error 017: undefined symbol "Get2DPosZone"

It wont let me compile my script.. will anyone help me fix this issue?

Thanks again- Kieran
Reply
#2

Can Someone Please help me.. i need it badly
Reply
#3

Give us that error line
Reply
#4

You dont have a callback/stock/public called "Get2DPosZone"
Reply
#5

Quote:

Get2DPosZone(spikeVariables[i][sPos][0], spikeVariables[i][sPos][1], sZone, MAX_ZONE_NAME); // Edited a_zones function (GET INCLUDE FROM SVN!!1)

Is the line., And Mamorunl how do i get a callback/stock/public?
Reply
#6

Dunno.. probably GET INCLUDE FROM SVN!!1 Like it says?
Reply
#7

Add this at bottom of your script:

Код:
stock Get2DPosZone(Float:x, Float:y, zone[], len)
{
 	for(new i = 0; i != sizeof(gSAZones); i++ )
 	{
		if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
		{
		    return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
		}
	}
	return 0;
}
OR just get the include.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)