GetArea(&Float:minx,&Float:miny,&Float:maxx,&Float :maxy)
#1

I am wondering if there is a function that gets the area as like above in the title.

The area needs to be in SAMP units Squared (m2)
Reply
#2

pawn Code:
stock Float:GetArea(Float:minx, Float:miny, Float:maxx, Float:maxy)
{
  return floatabs((maxx-minx)*(maxy-miny));
}
If there wasn't, there is now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)