Server HELP
#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


Messages In This Thread
Server HELP - by Kieran_Connell - 12.09.2012, 19:39
AW: Server HELP - by Blackazur - 12.09.2012, 20:53
Re: Server HELP - by PinEvil - 12.09.2012, 21:39
Re: Server HELP - by Jikesh - 13.09.2012, 06:14

Forum Jump:


Users browsing this thread: 1 Guest(s)