SA-MP Forums Archive
Need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help (/showthread.php?tid=619622)



Need help - NealPeteros - 20.10.2016

Greetings! So, I'm trying this FS out. Problem is that I can't find any zombie even after adding the spawns. Here are the spawn locations:

PHP код:
new Float:ZombieSpawns[3][3] =//REQUIRED: Change [2] to the amount of spawn locations.
{
    {
1642.0972, -2332.3430, -2.6797},//REQUIRED: Add zombie spawn locations here.
    
{1685.3428, -2333.313713.5469},//REQUIRED: Add zombie spawn locations here.
    
{1616.1416, -2276.033413.5140}//REQUIRED: Add zombie spawn locations here.
}; 



Re: Need help - NealPeteros - 20.10.2016

I guess the NPC doesn't spawn at all.
  1. They're not found in the player list using TAB
  2. They're not found in the player list of the SAMP Client
Please help. Here's the pastebin of the FS: http://pastebin.com/W0Laphjx


Re: Need help - NealPeteros - 20.10.2016

Here's my pastebin of the one I edited. http://pastebin.com/0PLP0p0E


Re: Need help - NealPeteros - 21.10.2016

Bump


Re: Need help - Threshold - 21.10.2016

Make sure you have MapAndreas installed correctly first of all. If you don't have the .hmap file sorted, zombies will likely be under the map.

Also, NPCs do not show up in the player list or SA-MP client list, that's the way they are designed so servers cannot fake their player count. NPCs will however take up a player slot, so you can easily get their positions, move them around, teleport to them, etc. as you would to a normal player.


Re: Need help - NealPeteros - 21.10.2016

I'm using this MapAndreas version
https://sampforum.blast.hk/showthread.php?tid=275492


Re: Need help - Threshold - 21.10.2016

That's cool, but I never asked what version of MapAndreas you were using. Have you tried spectating the zombie or teleporting to the zombies? The NPCs are joining the server, right?


Re: Need help - NealPeteros - 21.10.2016

I guess. Let me try tp'ing to them.


Re: Need help - NealPeteros - 21.10.2016

I can't tp to them. They're not connected.


Re: Need help - NealPeteros - 21.10.2016

Shouldn't there be something like
Код HTML:
[connection] incoming connection: 127.0.0.1:55221 id: 0
 [join] Zombie[1] has joined the server (0:127.0.0.1)