[FilterScript] Cruise Control/Flying Car
#1

:: Cruise Control/Flying Car

Hi all!
This is the second filterscript I release here in Sa-mp forums.

What it does?
It does many things like make your vehicle fly, climb anything and also works as cruise control. You just need to type /cc to enable (or disable) mode and then press and hold CTRL key to activate it. Since you release key, it is automatically deactivated. To change speed type /cc [speed you want: 0.05-3.0].

Where the idea came from?
I'm an huge fan of 4x4. Since few cars can't climb slops easily, I developed a system to apply multiple boosts to vehicle to simulate a powerful 4x4 car. But the speed was always very slow, so I created a variable to define the speed I wanted to apply, and then appeared this FS. :P

A demonstration of how to use it:
[ame="http://www.youtube.com/watch?v=76L0doQhcNg"]http://www.youtube.com/watch?v=76L0doQhcNg[/ame]

Advised speed values:
I think 0.05 - 0.3 it's good to simulate 4x4 mode.
Between 0.3 - 1.5 it's good for cruise control.
Any value is good to fly xD

Notes:
I included a vehicle repairer that works everytime you use this mode, because in fly mode you can make serious damage to your vehicle like I did in video xD. You can deactivate this feature in script.

Bugs:
I think there's no bugs. I made this script as simple as possible to avoid lag, since it uses a timer that calls a little big function many times per second (you can define this value).


Download

Any doubt ask here!
Enjoy!
Reply
#2

good job I guess it will be useful for stunts and actually roleplay for some people.
Reply
#3

Really good for freeroam. 2nd script , nice work.
Reply
#4

Is there a way to deactivate the climb/fly thing?
Reply
#5

Are you talking about H key function? If you do, here is a version without it: http://pastebin.com/NiPX4MTJ
Reply
#6

Having a problem with this filterscript. /cc Command doesn't work. It says, SERVER: Unknown command.
The script is being loaded.
From log:
Loading filterscript '[fs]_cruise_control_flying_car_mode.amx'...
Loaded 1 filterscripts.
Reply
#7

how to stop the car flying ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)