SA-MP Forums Archive
[FilterScript] Police guard NPC - 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] Police guard NPC (/showthread.php?tid=416470)



Police guard NPC - Goldino - 17.02.2013

Police Guard NPC
Hello guys, I was thinking of making a NPC and I did it! This is my first NPC and my first filterscript. If you like it, you can +REP me .

What this is, it's a walking police officer guarding the cells inside LSPD. I spent about half an hour making this. I hope you like it. My first filerscript




Media fire: http://www.mediafire.com/?9ussw8bfz1888aq


Code:
Installation:

1. Move the two files inside the filterscripts, to your filterscripts file.
2. Open the folder "npcmodes" and drag the file called "npc_jail" to your npcmodes folder.
3. Open the folder "recordings" in "npcmodes" and drag the file called "npc_jail.rec" to your recordings folder inside.

To make your NPC work, you must:

1. Open up your gamemode file, (not the filterscript). Just your normal gamemode file, and add this at the bottom inside the "OnGameModeInit" callback.
2. Then save it!
3. Open up your server.cfg file, and go to where it says "maxnpc 0" and change it to "maxnpc 2". Just change the 0 to a 2.
4. Then your ready to go!
For more information, refer to the README file.

Screen shots:
http://prntscr.com/t2ltb

http://prntscr.com/t2lvx

http://prntscr.com/t2m0j

© Copyright 2013. All rights reserved


Re: Police guard NPC - Sercan - 17.02.2013

Thank You


Re: Police guard NPC - Goldino - 17.02.2013

Quote:
Originally Posted by Sercan
View Post
Thank You
Your welcome. Hope you like it


Re: Police guard NPC - Tamer - 17.02.2013

Not trying it out but seems nice,+rep'ed


Re: Police guard NPC - Goldino - 17.02.2013

Quote:
Originally Posted by Tamer T
View Post
Not trying it out but seems nice,+rep'ed
Thanks!


Re: Police guard NPC - greentarch - 17.02.2013

Very nice for your first filterscript!
I don't even know how to make a NPC :P


Re: Police guard NPC - radiobizza - 17.02.2013

Good Kepp up


Re: Police guard NPC - Goldino - 17.02.2013

thanks! hope u like it


Re: Police guard NPC - Fenky - 17.02.2013

Could you please upload on upload.ee? I can't download it if it's mediafire, caused of fire-wall.


Re: Police guard NPC - Goldino - 17.02.2013

I will add the link to the other download later.

Anyone else like it?


Respuesta: Police guard NPC - lockdawn - 19.02.2013

what do i need to put in my gamemode file? i dont find any text to put in my MG...


Re: Police guard NPC - Sting. - 19.02.2013

Its nice. Great work but basic though. It will be real awesome if you could call the Bot to help you like a real body guard and will follow you and shoot at any enemies that shoot at you.


Re: Respuesta: Police guard NPC - Goldino - 19.02.2013

Quote:
Originally Posted by lockdawn
View Post
what do i need to put in my gamemode file? i dont find any text to put in my MG...
You don't need anything in your game mode, read the README text.


Re: Police guard NPC - Goldino - 19.02.2013

Quote:
Originally Posted by RTR12
View Post
Its nice. Great work but basic though. It will be real awesome if you could call the Bot to help you like a real body guard and will follow you and shoot at any enemies that shoot at you.
Ok, I'll try next time. Thanks


Re: Police guard NPC - Mewysam - 18.06.2018

your post deleted on Mediafire.com
please upload again


Re: Police guard NPC - Heress - 23.06.2018

nice