18.07.2012, 03:00
(
Последний раз редактировалось Ballu Miaa; 18.07.2012 в 04:55.
)
Hello Everyone,
Can any one please explain me the usage of these natives of ManAndreas, with the used code?
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
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