17.02.2013, 09:31
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!
Screen shots:
http://prntscr.com/t2ltbhttp://prntscr.com/t2lvx
http://prntscr.com/t2m0j
© Copyright 2013. All rights reserved