I want to move this object from my position in the air to the height Z of the ground, using MapAndreas, effectively the object begins to fall correctly at the established speed but crosses the ground until reaching the coordinate 0.0, that is, it does not detect the ground (I am using the latest version of MapAndreas)
Code:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
Example = CreateObject(2935, x, y, z, 0.0, 0.0, 0.0);
MapAndreas_FindZ_For2DCoord(x, y, z);
MoveObject(Example, x, y, z, 10.0);