SA-MP Forums Archive
[FilterScript] [FS] Killable Npcs - Make them all die! - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Killable Npcs - Make them all die! (/showthread.php?tid=128254)



[FS] Killable Npcs - Make them all die! - wafffllesss - 16.02.2010

What it does:
Makes all the npcs you add to your server capable of die.

How to install:
just add at your config file or load ingame.

Bugs:
Its not perfect. Cannot be yet. but report please. ( i didn't tested enough, just releasing soon cuz i need to help someone. )

Video:
Killable NPC's on SA-MP By Wafffllesss

Download:


Pastebin

Includes:
a_angles.inc By Tannz0rz


Re: [FS] Killable Npcs - Make them all die! - skaTim - 16.02.2010

Any screens or a vid ? btw great work !


Re: [FS] Killable Npcs - Make them all die! - Roperr - 16.02.2010

I sure will use it when I add some NPCs
Keel keel!


Re: [FS] Killable Npcs - Make them all die! - wafffllesss - 16.02.2010

Quote:
Originally Posted by dubstep
Any screens or a vid ? btw great work !
Not yet, maybe tomorrow =P
---
Thank you guys =]


Re: [FS] Killable Npcs - Make them all die! - skaTim - 16.02.2010

Quote:
Originally Posted by wafffllesss
Quote:
Originally Posted by dubstep
Any screens or a vid ? btw great work !
Not yet, maybe tomorrow =P
---
Thank you guys =]
You should not have to post without screens or maybe a vid


Re: [FS] Killable Npcs - Make them all die! - Epic Shower - 16.02.2010

Thanks for the script man.
I'll reply soon with the results!


Re: [FS] Killable Npcs - Make them all die! - wafffllesss - 16.02.2010

Quote:
Originally Posted by dubstep
Quote:
Originally Posted by wafffllesss
Quote:
Originally Posted by dubstep
Any screens or a vid ? btw great work !
Not yet, maybe tomorrow =P
---
Thank you guys =]
You should not have to post without screens or maybe a vid
Added


Re: [FS] Killable Npcs - Make them all die! - Epic Shower - 16.02.2010

Wow!
Nice job man, works perfectly!
Just one more thing lol
Imagine i want them to respawn(reconnect) after 5minutes, what code should i use?



Re: [FS] Killable Npcs - Make them all die! - Lejo - 17.02.2010

Nice. It looks a bit funny when it dies, but overall it's a pretty good filterscript.


Re: [FS] Killable Npcs - Make them all die! - wafffllesss - 17.02.2010

Quote:
Originally Posted by Shakur_
Nice. It looks a bit funny when it dies, but overall it's a pretty good filterscript.
Thank you =]

--------

Shower - Call him back when he disconect on a timer. like:
pawn Код:
OnPlayerDisconect(playerid,reason){
   if(!strcmp(npcname,PlayerName(playerid))){
    SetTimerEx("NpcConector",5*60*1000,0,"ss",npcname,filename);
   }
}
Something like this...