18.06.2015, 00:07
Hello
so I'm trying to get the Z Coord using Map Andreas, but it's just constantly returning 0.0
Even when I'm in SF...
The screen shot below goes like so..
X & Y
The First Z == Map Andreas
The Second = Player Z
But I'm in the EXACT same position.. when the cmd is used..
I'm just stood in the same spot an yet mapandreas gives the Z coord as 0.0
when i'm in SF on a hill
http://prntscr.com/7i8iem
I have included
so I'm trying to get the Z Coord using Map Andreas, but it's just constantly returning 0.0
Even when I'm in SF...
The screen shot below goes like so..
X & Y
The First Z == Map Andreas
The Second = Player Z
But I'm in the EXACT same position.. when the cmd is used..
I'm just stood in the same spot an yet mapandreas gives the Z coord as 0.0
when i'm in SF on a hill
http://prntscr.com/7i8iem
Код:
new Float:x, Float:y, Float:pz; GetPlayerPos(playerid, x, y, pz); new Float:z; MapAndreas_FindZ_For2DCoord(x, y, z); z+=15.0;
Код:
public OnGameModeInit() { MapAndreas_Init(MAP_ANDREAS_MODE_FULL); }