MapAndreas 1.2.1 for NPC issue
#1

Hello I wanted to spawn NPC with MapAndreas function (to find ground) but I have one problem with it. I've tried mapandreas to set position on myself it's working just fine but when I use it on NPC, its sets his position under ground for some reason.

Here's my code:
pawn Код:
//OnPlayerSpawn (NPC)
MapAndreas_SetZ_For2DCoord(1841.9462 - 10.0, -1050.7052, Z);       
SetPlayerPos(playerid, 1841.9462 - 10.0, -1050.7052, Z);

//OnGameModeInit - MapAndreas init
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
Reply


Messages In This Thread
MapAndreas 1.2.1 for NPC issue - by Riwerry - 15.03.2016, 16:32
Re: MapAndreas 1.2.1 for NPC issue - by czerwony03 - 15.03.2016, 17:26
Re: MapAndreas 1.2.1 for NPC issue - by AbyssMorgan - 16.03.2016, 07:03
Re: MapAndreas 1.2.1 for NPC issue - by DaniceMcHarley - 16.03.2016, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)