25.07.2011, 09:25
It's already there 
Example script: http://pastebin.com/zQzmaZti
@Wups: I'll take a look at it, but are you sure? - I've tested this script (See the example script) and it returned all the values
EDIT: Fail, we were both wrong. It does return MaxY:
But not MinZ :P. However, I'll fix this ASAP, but not now; I gotta go (holiday eh)

Quote:
Originally Posted by Main post -.-
OnPlayerEnterArea(playerid, areaid);
OnPlayerExitArea(playerid, areaid); |
@Wups: I'll take a look at it, but are you sure? - I've tested this script (See the example script) and it returned all the values
EDIT: Fail, we were both wrong. It does return MaxY:
Quote:
MinX = AreaInfo[areaid][aPosMinX]; MaxX = AreaInfo[areaid][aPosMaxX]; MinY = AreaInfo[areaid][aPosMinY]; MaxY = AreaInfo[areaid][aPosMaxY]; MaxZ = AreaInfo[areaid][aPosMaxZ]; |