NPC spawn under map -
TomRedlake - 20.09.2016
Hello guys I have problem with my Zombie NPCs
Im using ZNPC which is made by Weaponz -
https://sampforum.blast.hk/showthread.php?tid=584953
I followed his instructions, installed everything, I also updated MapAndreas to v1.2.1
Everything works perfectly on my localhost, no bugs. but when I upload them to host and go in-game to spec zombie this happens
Any help?
Re: NPC spawn under map -
oMa37 - 20.09.2016
Increase the Z coords if you are teleporting on a DynamicObject. (Didn't test it, But should work i guess).
Re: NPC spawn under map -
TomRedlake - 20.09.2016
what do you mean? I dont understand? Which dynamic object?
Re: NPC spawn under map -
oMa37 - 20.09.2016
Are you spawning the NPCs on dynamic objects? If so, Increase their Z coord.
Re: NPC spawn under map -
AbyssMorgan - 21.09.2016
Z position of zombies is equal to 0.0, because MapAndreas not been correctly initialized.
1. Put SAFull.hmap in scriptfiles.
2. Init MapAndreas
PHP код:
public OnGameModeInit(){
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
}
Re: NPC spawn under map -
ReshiramZekrom - 21.09.2016
Otherwise, just try to use CreateObject on the object where the NPCs are spawned
Re: NPC spawn under map -
TomRedlake - 21.09.2016
i will try then i will post result thnx guys
Re: NPC spawn under map -
TomRedlake - 21.09.2016
Zombies are not spawned on any dynamic object.
I tried @AbyssMorgan but still doesnt work
my zombies are still undergorund
Re: NPC spawn under map -
AbyssMorgan - 21.09.2016
Use MapAndreas v1.2
https://sampforum.blast.hk/showthread.php?tid=275492
Re: NPC spawn under map -
TomRedlake - 21.09.2016
I did, I updated plugin, put full and min map still undergorund ....
Spawns that I created are normal on gorund, I even added +20 to each Z coordinate...
Not working