Server HELP
#1

I Get

Quote:

error 017: undefined symbol "Get2DPosZone"

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

False Section, goto "Scripting Help", and i think you must download this Include.

https://subversion.assembla.com/svn/...es/a_zones.inc
Reply
#3

error 017: undefined symbol "Get2DPosZone" ?
Try finding the code on internet (aka ******) or are missing a assembly refrence?
Reply
#4

Quote:
Originally Posted by Kieran_Connell
Посмотреть сообщение
I Get



It wont let me compile my script.. will anyone help me fix this issue?
You need to add this somewhere in 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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)