SA-MP Forums Archive
[NPC][Filterscript] 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: [NPC][Filterscript] Help (/showthread.php?tid=390409)



[NPC][Filterscript] Help - KirovArk - 06.11.2012

I want to make NPCs that spawn in random location on the map and when the player walks near NPC,for example 10 meters,NPC runs towards player and starts to punch him and that takes players HP and can kill him.

It would be nice if someone could help me make this filterscript and if player could kill NPCs,thanks.


Re: [NPC][Filterscript] Help - Laure - 06.11.2012

del pls.


Re: [NPC][Filterscript] Help - KirovArk - 06.11.2012

Hey.

Why should I delete this post ?
Did I post it in the wrong section,if i did,i will delete it.


Re: [NPC][Filterscript] Help - SwisherSweet - 06.11.2012

Wow that would take a while to make go search ******* "Samp. How To Make A NPC"
And then build of that.


Re: [NPC][Filterscript] Help - adsy - 06.11.2012

https://sampwiki.blast.hk/wiki/NPC:Main_Page

Commands are here

use: https://sampwiki.blast.hk/wiki/NPC:IsPlayerStreamedIn
and: https://sampwiki.blast.hk/wiki/NPC:GetDistanceFromMeToPoint

after that, I get stuck, recorded actions aint a problem but when it comes to actions that are by code I think I would need guidance too.

I will watch this topic


Re: [NPC][Filterscript] Help - KirovArk - 06.11.2012

I want to make zombie server,NPCs are the actual zombies (Dont wanna make player zombies) and i want them to be able to kill players and players to kill them