MapAndreas Issue.
#1

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


Код:
new Float:x, Float:y, Float:pz;
	GetPlayerPos(playerid, x, y, pz);
	new Float:z;
	MapAndreas_FindZ_For2DCoord(x, y, z);	
        z+=15.0;
I have included
Код:
public OnGameModeInit() {
	MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
}
Reply
#2

Is the safull.hmap correctly placed in scriptfiles?
Код:
MapAndreas: plugin could not init!
MapAndreas: check files and make sure you have enough memory!
Something like that would show up in the serverlog then.
Reply
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Is the safull.hmap correctly placed in scriptfiles?
Код:
MapAndreas: plugin could not init!
MapAndreas: check files and make sure you have enough memory!
Something like that would show up in the serverlog then.
#I'm a retard.

I have the SAFull.hmap on my computer in script files but not the bloody server script files -.-
I code on my computer an then put the .amx into the VPS XD

I'll give it a try now

__
Thanks above for your help .
Woulda taken me a while to actually figure that i'd forgotten to move the SAfull over -.-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)