SA-MP Forums Archive
[FilterScript] [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - 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] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator (/showthread.php?tid=144441)



[FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Jeffry - 27.04.2010

[FS] Advanced Taxi System!!
Hello guys, this is my second release of a Filterscript. I created a really user friendly taxi system, which can also be used as a teleport system, or just to have teleport commands in your server.

-------------------------------------------------------------------------

What is it?

Its a Filterscript with that you can create easyly Taxi-Locations (Teleport Locations) and use them right after creating.
The Taxi will cost a bit of money, but you can define it yourself.

Commands:

• /taxi [ID]
• /locations [ID]
• /setkmprice [price]
• /setminimum [price]
• /tsave [Location-Name]

==> Easy to use.

The system calculates the distance to each location, so you pay always the exactly amount of $$$.

-------------------------------------------------------------------------

What use?

Well, I think every server needs a good teleport system, in this case a taxi system. You can easyly create locations to teleport to, and all players can use them. The teleport costs a bit of money, but as I said upper, you can change the price on your own if you want to.

-------------------------------------------------------------------------

Any pictures?

Sure.

Typing e.g. /taxi 0




Typing /locations

The system calculates the distance to each location, so you pay always the exactly amount of $$$.

-------------------------------------------------------------------------

How to use it?

Let me explain it fast, and its really easy.


Creating a Taxi-Location:

• Go into your server, and login as RCON admin.
• Go to the place you want. Then type /tsave [LocationName]
• Now open the file: .../scriptfiles/Saved_Taxi_Locs.txt
• Copy the line(s) and paste them into the taxi.pwn
• Paste it under: OnFilterScriptInit (You will see this in the script, its not hard )
• Compile.
• Reload The FS or the server, and have fun.


Easy eh? Btw, some locations are already given in: Some_Locations.txt


Note: When you type /tsave and created the position, you CAN use it directly.

-------------------------------------------------------------------------

Installation?

• Copy the taxi.pwn and taxi.amx into ..../filterscripts folder.
• Open your server.cfg and add at line "filterscripts": taxi
• Open your server and have fun.

-------------------------------------------------------------------------

Bugs?

I didn't find any bugs yet. But IF you find one or more, please tell me!!

-------------------------------------------------------------------------

Credits

Credits to DracoBlue and mabako for the IsNumeric Function.
Credits to DracoBlue for the dcmd.
Credits to me.

Would be nice if you could add me at /credits for this FS.
-------------------------------------------------------------------------

Download Link?

Sure:



-------------------------------------------------------------------------

Questions?

Just ask them. I will help you.

-------------------------------------------------------------------------

Please give comments.


Jeffry


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - [MWR]Blood - 27.04.2010

Good job, Jeffry!


Re: [FS] Advanced Taxi/Teleport System ?? Good for every server!!! +++ Easy creator - ViruZZzZ_ChiLLL - 27.04.2010

Hmmmm... Yes, good job indeed
________
Website Design


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - dcmd_crash - 27.04.2010

Damn, I made something similar to this but never got round to implementing the per KM pricing. It has just one price for everywhere. I like the idea of creating locations dynamically though, so well done to you

EDIT: Just realized you don't actually create dynamic locations, lol. What a bummer! This is something I will look at adding to mine though, maybe your script can help me to understand per KM pricing! :P


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Jeffry - 28.04.2010

Quote:
Originally Posted by ikarus❶❸❸❼
Good job, Jeffry!
Thanks.
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Hmmmm... Yes, good job indeed

Quote:
Originally Posted by _❼_
What a bummer!
Thanks.


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Lorenc_ - 28.04.2010

Cool


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Jeffry - 30.04.2010

Quote:
Originally Posted by ((Lorenc))
Cool


More comments please.


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Huzzy - 10.09.2010

Not bad,I was wondering if you could make a org or a faction script...


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - vyper - 10.09.2010

cool script


Re: [FS] Advanced Taxi/Teleport System •• Good for every server!!! +++ Easy creator - Jeffry - 18.10.2010

Quote:
Originally Posted by Huzzy
Посмотреть сообщение
Not bad,I was wondering if you could make a org or a faction script...
Thanks, what do you mean with the "org or faction" script?

Quote:
Originally Posted by vyper
Посмотреть сообщение
cool script
Thanks.


I'd appreciate it, if you give me a feedback when you use the script (or not). ^^