A lot of you might remember my filterscript allowing you to enter a shamal as passenger. I totally forgot i had that until today i was deleting a load of junk from My Documents and i came across it. Thinking of how useful people found that and the lack of utilities for vehicles like it i created this filterscript.

• What does it do?:

▪ Shamal: Yes, my good ol' code. It is back and is being used in this filterscript. It works the same as before. You can enter a shamal as a passenger like you would with any other vehicle but it will take you to the interior of that shamal. Each shamal has it's own interior seperate from all other shamal's you have in your script. When a shamal vehicle explodes the interior also will.

▪ Tow Trucks: Now you are probably thinking; "There are a lot of these codes about. Why another one?". Well the answer is simple. I have seen a lot of the other ones and they disgust me. This isn't to have a go at the authors of those 'codes' i just advise you that if you want to use tow trucks in your server then make a good code yourself or use this one. Like i said, nothing personal against other people that have made tow truck codes but why should players suffer the effects of inefficient and unnecessary codes when they can just use this filterscript that i am happy to say has a very good tow truck code.
How to use?:
Well it is simple. If you want to tow a vehicle then just make sure you are in a tow truck (obviously), drive to a near-by car and press the handbrake key. I didn't think it was necessary to include a key to unhook vehicles as all you have to do is lower the hook and it will unhook itself.

▪ Trams: I have seen many codes where you must press 2 keys or a sequence of keys to get in a tram as a driver. And it made me think; why? So here is a good code and all you have to do is enter the tram as you would a normal vehicle. Both for driver and passenger as passengers in a tram is native anyway. The code will make sure that the driver seat is empty before it allows you in.

• How do i use this filterscript?:
- Just simply add bbvu to your filterscripts line in your server configuration file.

Enjoy this filterscript and i would appriciate it if you DON'T steal the code from it. I made this filterscript to use as a whole and not as a bag of snippets where you take what you want and add to your script giving yourself credit.

Cheers, Beckzy.

PepperSigh

16/09/2007, 05:53 PM

can you release ur gamemode please that would be the best

-Sneaky-

16/09/2007, 05:54 PM

Mirror (http://sneakysnizzle.sn.funpic.org/bbvu.rar)

Noxa

16/09/2007, 06:49 PM

Great mate :D

Alejandro

16/09/2007, 06:50 PM

nice!!

Downfall

16/09/2007, 06:58 PM

Very nice Beckzy, question: the tram function, is it like a 2 door car or can you have multiple people in the tram? :roll:

BeckzyBoi

16/09/2007, 07:11 PM

Well the Tram only has 2 seats as decided by Rockstar. But with trams and trains you can put a player in any seat and it will work but when you exit you will just leave the passenger seat as if you entered the proper passenger seat. I got up to seatid 15 before then just gave up at the conclusion that each and every seat will just register as slot 1. People say that trams have 4 seats just because they seen a tram using 4 seats in partyserver but all that is is what i have just explained and it doesn't actually have 4 seats. I mean people could say in another server they seen a tram with 6 seats but all that means is that the scripter's code has allowed it to go up to 6 seats when in actual fact the amount of seat ids you can use is unlimited.

But anyway i answered your question and you now know that i stuck with the native but lets not get into a big debate about something like this because the thread is about my filterscript in general and not what Rockstar decided ;).

Edit: btw thanks for the nice comments people :).

domidom

16/09/2007, 07:33 PM

Wow Very nice :)
I Hope this Tram script works lol :p Many dont...Many use timers aswell :S

Well this is very usefull :)
thanks ;)

BeckzyBoi

16/09/2007, 09:57 PM

Heh glad you like it. Feedback is always wanted. Btw what do you think would be good for any future versions (Note: no new version will happen for a long time as i have got college). Maybe RC vehicles? Tbh i can't think of many vehicles that have anything possible to build on like the 3 that i have already done in this script.

X_Cutter

17/09/2007, 01:28 AM

Nice FS Beckzy... Very usefull :)

BeckzyBoi

17/09/2007, 10:52 AM

Well i am at college at the moment but i am really into the idea of this filterscript so i might add something else to it when i get home. I was thinking maybe RC vehicles..? There isn't a great choice of what is possible when customising vehicles with the logic i am using. I have a rough idea of something i could add with the Andromada but as i said i am at college so i will maybe work on 1 thing for a while each night during the week and then maybe something else at the weekend.

X_Cutter

17/09/2007, 11:35 AM

How many objects in Shamal? So i don't get crashes :roll:

Redirect Left

17/09/2007, 01:00 PM

Very usefull script Beckzy ;)

How many objects in Shamal? So i don't get crashes :roll:
I count 14 objects per Shamal.

vkmaster

17/09/2007, 05:15 PM

Very nice beckzy, great to see something unique released once in a while on here!

Do you have to change the vehicle ID's for the vehicles? Or does it check the vehicles by model id?

vkmaster

17/09/2007, 05:27 PM

Do you have to change the vehicle ID's for the vehicles? Or does it check the vehicles by model id?

Uses model id ;)

BeckzyBoi

17/09/2007, 05:28 PM

@ vkmaster: I like the RC Tiger turrent idea, thanks. Unfortunatly i can't check if a player has a vehicle locked in their script through my filterscript. It is just unfortunate that there isn't a GetVehicleParams function. I wont include tuning sorry and i wont be releasing an include file.

@ RobbyMeist3r: Don't touch the vehicle IDs, or touch them if you want. Either way they wont effect anything to do with the filterscript.

vkmaster

17/09/2007, 05:36 PM

Aaaah totaly forgot that there is no GetVehicleParams, that was me jumping ahead with ideas. :lol:

Note to self: Try thinking first! :roll:

Cheers, Mikey

~Hybrid~

17/09/2007, 05:39 PM

Wow, Beckzy..outdone urself again :)

[AV]Dave

BeckzyBoi

17/09/2007, 11:15 PM

Thanks for the feedback guys. I doubt there are any bugs to report but maybe if some of you want to suggest improvements or ideas? Anyway g'night, it is after midnight here and i have college in the morning so i probably wont be online till tomorrow night.

X_Cutter

17/09/2007, 11:55 PM

How many objects this uses?

BeckzyBoi

18/09/2007, 12:02 AM

14 per Shamal. If you find it too much then blame Rockstar for making each passenger seat and head rest seperate objects and not just one big object which covers the lot which is usually the case in GTA.

X_Cutter

18/09/2007, 12:15 AM

O.o that's a lot but thats still nice ;)

BeckzyBoi

18/09/2007, 01:41 PM

If you want you can edit the filterscript and remove the seats and head rests or just the head rests or whatever, i have nothing against you doing that just don't do what most people do (especially this (http://forum.sa-mp.com/index.php?action=profile;u=1865) person) which is steal the codes, insert them into their own script and get the credit.

Cheers, Beckzy.

BMUK

06/10/2007, 12:02 PM

(Very) Nice! Im using it :D And your name is at /credits

When my gamemode restarts I need to reloadfs otherwise I fall from the sky to my death if I enter a shamal (as passenger) :-[

Can I fix that?

BeckzyBoi

06/10/2007, 01:08 PM

It seems you are saving a player's position, nothing to do with the filterscript. So maybe using something like this at the function which saves the position would be good.

Using that small check will save the position of the player if he is in the normal world or in an interior of some sort but not if he is in the shamal interior. Hope it helped :).

RobbyMeist3r

08/10/2007, 02:44 PM

I think i found a bug. When you die inside the interior and then teleport you back (i have a command so you can teleport back to the spot you died at), then you can't exit the plane. Well, that's not an important bug, but i just wanted to tell you ;)

I love the script, keep it that way!

X_Cutter

08/10/2007, 03:03 PM

it's bit normall, as the thingy to exit is made only when you enter Via the Shamal So it does not create the exit when you enter it in any other ways

Killer-Boy

08/10/2007, 05:19 PM

Wow cool thanks! but fix the mirror...its dont work...upload to rapidshare the best i guess :mrgreen:

edit, WORKS! i tryed in the morning, GREAT FS Good Work Man!

Nibblet

13/10/2007, 09:46 AM

My towtruck part isnt working, I pressed all handbrake buttons but it doesnt hook up
(Rctrl, Lctrl, Spacebar, Ralt, Lalt)