SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/08/2011, 06:48 PM   #1
Adil
Gangsta
 
Adil's Avatar
 
Join Date: Aug 2008
Posts: 888
Reputation: 20
Default Adil's LS Bus System

[NPC]LS Bus System



Introduction

This is a Non Playing Character (also known as NPC or Bot) related filterscript created basically for RP servers. There are two Bus Drivers driving buses around Los Santos. Each driver is assigned to a specific location, one to East Los Santos, and the other to West Los Santos. There are two buses that the Bus Drivers drive, Blue Bus, and the Black Bus. The Blue Bus travels it's way in East Los Santos, and the Black Bus runs over West Los Santos. The Bus charges are $20 for every thirty seconds a passenger stays. The Bus also has a interior with seats, and you can use '/sit' to sit on them. The Bus Drivers also are very caring for their passengers, they announce their stop every time they reach a bus stop, so the passengers don't have to worry of crossing their destination. Taxi Stand is the city's interchange between the two buses, one can leave Blue Bus at Taxi Stand, and continue his journey in the Black Bus if he wants to go further. The public waiting for the bus can now actually know where the bus is by using '/buslocation', and also can plan their journey by using '/busroute' to know what stops the bus makes. The Buses are assigned to different locations so not all bus stops will have the same information, some stops are of The Blue Bus, and some are of The Black Bus, so their are actually two types of Bus Stops. You will find a more detailed map shown below.


Information

Name:[NPC]LS Bus System
Release date:13/April/2010
Laste Update:10/August/2011
Commands:6
Objects:89
NPCs:2
Vehicles:2


Screenshots








Videos

[ame]http://www.*******.com/watch?v=mo1Ikr-w8ts[/ame]


Comments

NOTE: The script is now completely changed from how it was before. I first released this Bus System a long time ago, but I didn't kept it updated. I have now completely changed this script into a better one in this update. I wasn't expecting myself updating this release, but I thought of making it better. I thank Amit, because I've used his Bus Interior in my script, so credits to Amit. If you find any problem using the Filter Script or any difficulty then feel free to post your problem, I'll try helping you out as much as I can. If you find a bug, please be helpful enough to report it to me by posting on this page.


Installation

Open the downloaded [NPC]LS Bus System.zip file and extract it anywhere. Open the extracted folder and go into the filterscripts folder and copy 'BSystem.pwn' and 'BSystem.amx', paste them in your server's filterscripts folder. Then go to the extracted folder again and open up the npcmodes folder and copy 'Bus.pwn', 'Bus.amx', 'Bus2.pwn' and 'Bus2.amx' and paste them in your server's npcmodes folder. After that open the extracted folder again and go into npcmodes>recordings and copy the files inside and paste them in your server's recordings folder. Last step is to open up your server's 'server.cfg' and add the name of the filterscript we just added, write down 'BSystem' after the 'filterscripts' line. Also check the 'maxnpc' line of the server.cfg, if it's 0 then change it to '2' or more. Save the .cfg file and run samp-server, you should see the message that your npcs have connected. For more detailed instructions on running a NPC, view 'Creating a new NPC' made by kc. If anything doesn't work, post your problem below.


Download

Click any of the following to download:

Mega Upload
Sold Files
Media Fire

Paste Bin

Last edited by Adil; 24/07/2013 at 12:04 AM.
Adil is offline   Reply With Quote
Old 10/08/2011, 06:51 PM   #2
Anzhelov
Huge Clucker
 
Join Date: Dec 2010
Posts: 289
Reputation: 8
Default Re: Adil's LS Bus System

Looks awesome. Good job!
Anzhelov is offline   Reply With Quote
Old 10/08/2011, 06:52 PM   #3
ylleron
Huge Clucker
 
ylleron's Avatar
 
Join Date: May 2011
Location: Slovakia
Posts: 212
Reputation: 7
Default Re: Adil's LS Bus System

Man. Nice!!!
__________________
ylleron is offline   Reply With Quote
Old 10/08/2011, 06:57 PM   #4
12kelvin12
Big Clucker
 
Join Date: Feb 2011
Posts: 97
Reputation: 5
Default Re: Adil's LS Bus System

wow really good work
12kelvin12 is offline   Reply With Quote
Old 10/08/2011, 09:07 PM   #5
rashier
Big Clucker
 
Join Date: Jan 2011
Posts: 98
Reputation: 0
Default Re: Adil's LS Bus System

Hello, I did as you asked there, but NPC connects and then disconnects, I know I need to set something in gamemode, please tell me why?
rashier is offline   Reply With Quote
Old 10/08/2011, 11:10 PM   #6
Naruto_Emilio
Banned
 
Join Date: Apr 2011
Location: North Africa
Posts: 1,537
Reputation: 365
Default Re: Adil's LS Bus System

Quote:
Originally Posted by rashier View Post
Hello, I did as you asked there, but NPC connects and then disconnects, I know I need to set something in gamemode, please tell me why?
Go to your server.cfg then you will see like max npc something like that, then change the 0 to like 10 Npc's can enter the server, then enjoy...
Naruto_Emilio is offline   Reply With Quote
Old 11/08/2011, 12:17 PM   #7
Adil
Gangsta
 
Adil's Avatar
 
Join Date: Aug 2008
Posts: 888
Reputation: 20
Default Re: Adil's LS Bus System

Quote:
Originally Posted by rashier View Post
Hello, I did as you asked there, but NPC connects and then disconnects, I know I need to set something in gamemode, please tell me why?
That's because you're probably using a game mode that kicks the player if he spawns without login. This is a example I took out from GF script:
pawn Code:
if(gPlayerLogged[playerid] == 0)
{
    SendClientMessage(playerid, COLOR_PEACH, "** This server requires a Login BEFORE spawn (Kicked) **");
    KickPlayer[playerid] = 1;
}
Just change the if(gPlayerLogged[playerid] == 0) to:
pawn Code:
if(gPlayerLogged[playerid] == 0 && !IsPlayerNPC(playerid))
Adil is offline   Reply With Quote
Old 11/08/2011, 05:07 PM   #8
sherlock
High-roller
 
sherlock's Avatar
 
Join Date: Aug 2010
Location: United Kingdom
Posts: 1,035
Reputation: 60
Default Re: Adil's LS Bus System

i hope the update is good! last time it sucked (no offence lol)
__________________


sherlock is offline   Reply With Quote
Old 11/08/2011, 06:07 PM   #9
AztreX
Little Clucker
 
Join Date: Aug 2011
Location: Türkiye
Posts: 9
Reputation: 0
Default Re: Adil's LS Bus System

Nice. Thanks. I'll use it.
AztreX is offline   Reply With Quote
Old 11/08/2011, 07:58 PM   #10
Adil
Gangsta
 
Adil's Avatar
 
Join Date: Aug 2008
Posts: 888
Reputation: 20
Default Re: Adil's LS Bus System

Quote:
Originally Posted by sherlock View Post
i hope the update is good! last time it sucked (no offence lol)
I know, I wanted to update it for a long time, but wasn't getting the time for it, but then finally I managed to edit it completely. The new version is completely changed from the old version.
__________________
Signature

My Works
[NPC]LS Bus System
[MAP]Mansion

Adil is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] Creative Webkit 3 (UPDATED 10-09-2011) Content Management System (Website system) for php developers gamer931215 Tools and Files 21 12/06/2013 03:54 PM
[HELP] Robbery system, tax system, houseing system Commander_Shaw Help Archive 3 15/09/2010 04:18 AM


All times are GMT. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.