25.08.2010, 11:03 
	
	
	
		This is soo weird :S.. Could somebody help me?..
I have this:
and
I tried with an other area X Y, and that works.. Well, it looks like something is wrong with my gangzone (?)
Could somebody check whats wrong :S?
	
	
	
I have this:
pawn Код:
GangZoneCreate(2563.775634,539.454345,2645.808349,397.840759);
pawn Код:
if(IsObjectInArea(Football, 2645.808349, 2563.775634, 397.840759, 539.454345))
pawn Код:
stock IsObjectInArea(objectid, Float:max_x, Float:min_x, Float:max_y, Float:min_y)
{
new Float:X, Float:Y, Float:Z;
GetObjectPos(objectid, X, Y, Z);
if(X <= max_x && X >= min_x && Y <= max_y && Y >= min_y) return 1;
return 0;
}
Could somebody check whats wrong :S?
