MapAndreas_FindAverageZ
#1

Hello Everyone,

Can any one please explain me the usage of these natives of ManAndreas, with the used code?
pawn Код:
native MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z); // return highest Z point (ground level) for the provided X,Y co-ordinate.
// new
native MapAndreas_FindAverageZ(Float: x, Float:y, &Float:z); // returns a linear approximation of the ground level at the x,y coordinate

I want to use this function to find the ground level according to X,Y,Z. And later on check that Object AGNIV has reached the lowest Ground level(Z). If it has reached , then it will explode.

Can anyone give me a basic design or structure? How to check that object moving object has reached the Lowest Ground level? Please help me.

Thanks
Ballu Miaa
Reply


Messages In This Thread
MapAndreas_FindAverageZ - by Ballu Miaa - 18.07.2012, 03:00
Re: MapAndreas_FindAverageZ - by ViniBorn - 18.07.2012, 03:02
Re: MapAndreas_FindAverageZ - by Ballu Miaa - 18.07.2012, 03:06
Re: MapAndreas_FindAverageZ - by ViniBorn - 18.07.2012, 03:16
Re: MapAndreas_FindAverageZ - by Ballu Miaa - 18.07.2012, 03:19
Re: MapAndreas_FindAverageZ - by ViniBorn - 18.07.2012, 03:29
Re: MapAndreas_FindAverageZ - by Ballu Miaa - 18.07.2012, 03:36
Re: MapAndreas_FindAverageZ - by ViniBorn - 18.07.2012, 03:39
Re: MapAndreas_FindAverageZ - by Ballu Miaa - 18.07.2012, 03:50

Forum Jump:


Users browsing this thread: 1 Guest(s)