17.02.2015, 21:37
(
Последний раз редактировалось Golimad; 18.02.2015 в 18:22.
)
Introduction :
Hello guys, I've seen some gears systems before but without a textdraw! So I thought I could make one for you ! This will include 2 versions of different scripts. You can guys use it in your server, edit the script, but just keep my name on it
! This took me quite a while to make, I have put so many efforts to fix bugs cuz I'm a beginner, please, if PM me things I might wanna add in this to improve it so people can enjoy.
How to add in my server ?
It's a filterscript, you add it, change its name, and put that name in : Server.cfg
you guys know all these stuffs, so, let's move on..
It's basically a gear system, it makes limits of vehicles speeds and more you get up your gear, more your speed can be increased.
Can I change some variables ?
Yes, you can edit things the way you prefer, check the .pwn and change :
You can only gear up every 5 seconds ( can be edited in the script )
You can only gear down every 2 seconds ( can be edited in the script )
Features :
- Awesome textdraws.
- Each gear has its specific maximum speed (depends on vehicle speed)
- Using timers for ability to gear up and down.
- No gear for planes/helicopters/boats/bikes.
NEW :
- Debug mode for ( Rcon players ), keep track of angles, velocity, and such..
- Fixed tons of bugs ( No more gearing during stunts, while vehicle is falling down a mountain ... )
- No gearing while driving backwards.
- And more to discover ..
Screenshots :
I apologize I couldn't upload the video because of the size and my internet.
Here is some screenshots by the way :
FIRST VERSION :


SECOND VERSION :


Two versions :
FIRST :
- Only 5 gears : 1,2,3,4,5.
- Suitable with Racing, Stunting, Survival, Trucking, and all gamemodes.
SECOND:
- Additional R gear to be able to go backwards.
- Can't go backward unless you are in R gear.
- Can't go forward if you are in R gear.
- Best for Role playing servers!
- Slightly bugged ( because of DrivingBackwards function and the angles that I can't fix. Prolly SAMP floats bug or my lack of knowledge in this domain. )
Tutorial and help :
FIRST VERSION :
- Press Y to gear up, Press N to gear down.
SECOND VERSION :
- Press Y to gear up, Press N to gear down.
- Hold N ( for +1sec ) to gear straight down to R ( while vehicle isn't moving. )
Download
FIRST VERSION : http://pastebin.com/385hngCG
SECOND VERSION : http://pastebin.com/pnqcywBf
I hope you guys use this in your server, and enjoy it, Found a bug ? Report please so I can fix.
Hello guys, I've seen some gears systems before but without a textdraw! So I thought I could make one for you ! This will include 2 versions of different scripts. You can guys use it in your server, edit the script, but just keep my name on it

How to add in my server ?
It's a filterscript, you add it, change its name, and put that name in : Server.cfg
pawn Код:
filterscripts GearSystem(Or name if changed. )
It's basically a gear system, it makes limits of vehicles speeds and more you get up your gear, more your speed can be increased.
Can I change some variables ?
Yes, you can edit things the way you prefer, check the .pwn and change :
You can only gear up every 5 seconds ( can be edited in the script )
pawn Код:
#define TCangear 5000 // 5000 ms ( 5 s ) that you need to wait before gearing up.
pawn Код:
#define TDCangear 2000 // 2000 ms ( 2 s ) that you need to wait before gearing down.
pawn Код:
#define GearOnBoats 1// 0 : enable gear on boats , 1 : disable it.
#define GearOnPlanes 1// 0 : enable gear on planes , 1 : disable it.
#define GearOnMotorbikes 1// 0 : enable gear on motorbikes , 1 : disable it.
- Awesome textdraws.
- Each gear has its specific maximum speed (depends on vehicle speed)
- Using timers for ability to gear up and down.
- No gear for planes/helicopters/boats/bikes.
NEW :
- Debug mode for ( Rcon players ), keep track of angles, velocity, and such..
- Fixed tons of bugs ( No more gearing during stunts, while vehicle is falling down a mountain ... )
- No gearing while driving backwards.
- And more to discover ..
Screenshots :
I apologize I couldn't upload the video because of the size and my internet.
Here is some screenshots by the way :
FIRST VERSION :


SECOND VERSION :


Two versions :
FIRST :
- Only 5 gears : 1,2,3,4,5.
- Suitable with Racing, Stunting, Survival, Trucking, and all gamemodes.
SECOND:
- Additional R gear to be able to go backwards.
- Can't go backward unless you are in R gear.
- Can't go forward if you are in R gear.
- Best for Role playing servers!
- Slightly bugged ( because of DrivingBackwards function and the angles that I can't fix. Prolly SAMP floats bug or my lack of knowledge in this domain. )
Tutorial and help :
FIRST VERSION :
- Press Y to gear up, Press N to gear down.
SECOND VERSION :
- Press Y to gear up, Press N to gear down.
- Hold N ( for +1sec ) to gear straight down to R ( while vehicle isn't moving. )
Download
FIRST VERSION : http://pastebin.com/385hngCG
SECOND VERSION : http://pastebin.com/pnqcywBf
I hope you guys use this in your server, and enjoy it, Found a bug ? Report please so I can fix.