SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 26/01/2014, 01:25 AM   #1
mahardika
Big Clucker
 
mahardika's Avatar
 
Join Date: Jul 2013
Location: ind-ONE-esia
Posts: 137
Reputation: 7
Default M-Gear - Manual Transmission

M-GEAR - Manual Transmission System

i Just Boring, and i Made This Simple Script,
Hope You Like it

Functions

Press Y to Gear UP and N to Gear Down

change
Code:
#define VEHICLE_GEAR_SPEED
to change Gear Speed

change
Code:
 #define MAX_GEAR
to change MAX Vehicle Gear

Bugs
Code:
Comment if u find
Dunlud!
Code:
http://pastebin.com/fEshwmm7
Quote:
Originally Posted by Hiddos View Post
Nice job so far. I had a bit of a test run and discovered a few issues however:

-) Last time I checked planes didn't have gears
-) Changing your gear while your vehicle is in mid-air will cause the vehicle to 'slowfall'

This could be a pretty cool filterscript if you'd fix those issues
UPDATED v1.1

airplane gear fixed on this link http://pastebin.com/teSYW2WP

Last edited by mahardika; 04/02/2014 at 06:19 AM.
mahardika is offline   Reply With Quote
Old 26/01/2014, 01:46 AM   #2
ikey07
High-roller
 
ikey07's Avatar
 
Join Date: Jul 2010
Location: Latvia,Riga
Posts: 1,167
Reputation: 180
Default Re: M-Gear - Manual Transmission

Does it work on vehicle speed ?
__________________
ikey07 is offline   Reply With Quote
Old 26/01/2014, 03:01 AM   #3
kN1GhT
Banned
 
Join Date: Jun 2013
Posts: 151
Reputation: 26
Default Re: M-Gear - Manual Transmission

pressing a key and the gear change....seems pretty automatic

Dont know what use this maybe but nice work
kN1GhT is offline   Reply With Quote
Old 26/01/2014, 07:13 AM   #4
mahardika
Big Clucker
 
mahardika's Avatar
 
Join Date: Jul 2013
Location: ind-ONE-esia
Posts: 137
Reputation: 7
Default Re: M-Gear - Manual Transmission

Quote:
Originally Posted by ikey07 View Post
Does it work on vehicle speed ?
Yep!
mahardika is offline   Reply With Quote
Old 26/01/2014, 07:17 AM   #5
mahardika
Big Clucker
 
mahardika's Avatar
 
Join Date: Jul 2013
Location: ind-ONE-esia
Posts: 137
Reputation: 7
Default Re: M-Gear - Manual Transmission

Quote:
Originally Posted by kN1GhT View Post
pressing a key and the gear change....seems pretty automatic

Dont know what use this maybe but nice work
i will make it better, thanks
mahardika is offline   Reply With Quote
Old 31/01/2014, 10:18 AM   #6
Excelize
Huge Clucker
 
Join Date: May 2013
Location: wowe plz giev me rep i wil get 50 scoer end rep u 2 : - )(It's sarcasm FFS)
Posts: 351
Reputation: 25
Default Re: M-Gear - Manual Transmission

Quote:
Originally Posted by kN1GhT View Post
pressing a key and the gear change....seems pretty automatic

Dont know what use this maybe but nice work
You just described a manual-transmission..
__________________
I left SA:MP, not active on forums anymore either. Might be on the forums once in a while. If you want to contact me, email me, or use my Skype name provided on my profile. And no, I'm not going to join your project, so please only contact me if you have something reasonably important to say.
----------------------------------------------------------
Enjoy:
All my Works
Excelize is offline   Reply With Quote
Old 01/02/2014, 07:45 AM   #7
Unfriendly
Big Clucker
 
Unfriendly's Avatar
 
Join Date: Dec 2011
Location: Tennessee, US.
Posts: 107
Reputation: 7
Default Re: M-Gear - Manual Transmission

This looks neat, man. Thanks!
__________________
Working on a new project!
PM me for details, it's going to be big.
Unfriendly is offline   Reply With Quote
Old 01/02/2014, 04:22 PM   #8
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 3,304
Reputation: 2184
Default Re: M-Gear - Manual Transmission

Nice job so far. I had a bit of a test run and discovered a few issues however:

-) Last time I checked planes didn't have gears
-) Changing your gear while your vehicle is in mid-air will cause the vehicle to 'slowfall'

This could be a pretty cool filterscript if you'd fix those issues
__________________
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos is offline   Reply With Quote
Old 01/02/2014, 09:07 PM   #9
wups
High-roller
 
wups's Avatar
 
Join Date: Apr 2010
Posts: 1,216
Reputation: 141
Default Re: M-Gear - Manual Transmission

Ever heard about variables? Your code under the callback OnPlayerUpdate is VERY inefficient.
wups is offline   Reply With Quote
Old 04/02/2014, 06:12 AM   #10
mahardika
Big Clucker
 
mahardika's Avatar
 
Join Date: Jul 2013
Location: ind-ONE-esia
Posts: 137
Reputation: 7
Default Re: M-Gear - Manual Transmission

Quote:
Originally Posted by Hiddos View Post
Nice job so far. I had a bit of a test run and discovered a few issues however:

-) Last time I checked planes didn't have gears
-) Changing your gear while your vehicle is in mid-air will cause the vehicle to 'slowfall'

This could be a pretty cool filterscript if you'd fix those issues
http://pastebin.com/teSYW2WP hope ix fixed << not tested my samp broken
mahardika 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
Help in Transmission Gamer_007 Scripting Help 0 31/01/2013 04:11 AM
Help in detecting car's Transmission Gamer_007 Scripting Help 4 01/01/2013 08:33 AM
How can I make a Manual Transmission? Ehab1911 Help Archive 5 14/08/2010 03:29 PM
Manual Vehicle Transmission aleancuervo Help Archive 1 09/04/2010 11:12 PM
[HELP] Block transmission of Money J. Help Archive 4 08/04/2010 05:19 AM


All times are GMT. The time now is 04:09 PM.


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