[FS/NPC] Los Santos PD Guard
#1

Los Santos Police Departament Guard [BOT]
Download
Click Here To Download

Mirrors
Accepting Mirrors .

How to install
Well is very easy to install, i will give links abobe this. First you need to extract Guard to your npcmodes > recordings. Then extract Guard.PWN and Guard.AMX to your npcmodes folder. Then open up GuardNPC filterscript and put it into your filterscripts folder. Now go into your SERVER.CFG and on the filterscripts line you will add GuardNPC and on the maxnpc line you will put a random numer. Since i only used this for a test i had to put a number 1.

Description
Hello this is my first NPC i made of the year, is just a simple script that the bot go around Los Santos PD like a real life Security person.
The Bot is on a LS PD cop car.

File
The file is on a .RAR inside of it i will show instructions again .

Video
Since i do not have a screen recorder i would like for somebody to record this to me please .
Reply
#2

Quote:
Originally Posted by xkniives
This is very nice. I will use this for my Roleplay server and I will not remove the credits, or replace your name with my name, which is Sarin, and then tell everyone I made it, and never mention your name or speak when your name comes up. Thank you.
Just kidding. My server, come if you would:
174.34.155.106:4600
hehe thnz
Reply
#3

this doesn't work. I set my NPC's to 1 and added the filterscripts, etc, etc.
Reply
#4

Quote:
Originally Posted by xkniives
this doesn't work. I set my NPC's to 1 and added the filterscripts, etc, etc.
try adding more numbers like 100 lolz or different instead of 1. i used 1 because is the first time i used an NPC
Reply
#5

ok this is stupid i add the thing and he joins then leaves the server why
Reply
#6

Not that bad

Nice job
Reply
#7

Quote:
Originally Posted by deathknight865
ok this is stupid i add the thing and he joins then leaves the server why
mn i do not know what is the problem bro. if he leaves try this
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Reply
#8

Quote:
Originally Posted by x.X.LEGENDARIO.X.x
Quote:
Originally Posted by deathknight865
ok this is stupid i add the thing and he joins then leaves the server why
mn i do not know what is the problem bro. if he leaves try this
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Where do we put that? May I ask..
Reply
#9

replace
pawn Код:
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
    if(!strcmp(npcname, "MyFirstNPC", true)) //Checking if the NPC's name is MyFirstNPC
    {
      PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0); //Putting the NPC into the vehicle we created for it.
    }
    return 1;
  }
with
pawn Код:
if(IsPlayerNPC(playerid)) return 1; //Checks if the player that just spawned is an NPC.
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
    if(!strcmp(npcname, "MyFirstNPC", true)) //Checking if the NPC's name is MyFirstNPC
    {
      PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0); //Putting the NPC into the vehicle we created for it.
    }
    return 1;
  }
Reply
#10

Quote:
Originally Posted by deathknight865
Посмотреть сообщение
ok this is stupid i add the thing and he joins then leaves the server why
off : Maibe he dose not like your server !!! )


Is becouse your register/login .. he can't pass by it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)