14.04.2010, 10:29
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)
The area needs to be in SAMP units Squared (m2)
stock Float:GetArea(Float:minx, Float:miny, Float:maxx, Float:maxy)
{
return floatabs((maxx-minx)*(maxy-miny));
}