Posts: 241
Threads: 13
Joined: Jan 2014
Is there is anyway to know in which gear a vehicle is running?
Posts: 1,166
Threads: 44
Joined: Sep 2009
Reputation:
0
No, the only way to detect it would be to match speed with the sound, when the vehicle gets to the speed you hear the gear shift you assume that's +1 gear so on and so forth.
Posts: 241
Threads: 13
Joined: Jan 2014
But, that will be useless for me. I want to show player that in which gear his vehicle is running.
Posts: 1,166
Threads: 44
Joined: Sep 2009
Reputation:
0
Just make a system when the vehicle gets the 'x' speed (Where the engine sound changes) They're displayed with a message/textdraw saying gear '1 - 5'
Posts: 241
Threads: 13
Joined: Jan 2014
Hmmm... ok let me try to make that.
EDIT: But every vehicle has different velocity.
Posts: 241
Threads: 13
Joined: Jan 2014
Noway for this, that is BULLSHIT!
Anyway thanks for trying
Posts: 508
Threads: 146
Joined: Jan 2014
Reputation:
0
What about doing this
[pawn]new Gear0;
new Gear1;
new Gear2;
new Gear3;
new Gear4;
new Gear5;
OnPlayerConnect'
Gear0(playerid) = 0 //e.g
Sorry Im half asleep, hopefully u get what im doin
Posts: 241
Threads: 13
Joined: Jan 2014
Quote:
Originally Posted by Mriss
What about doing this
[pawn]new Gear0;
new Gear1;
new Gear2;
new Gear3;
new Gear4;
new Gear5;
OnPlayerConnect'
Gear0(playerid) = 0 //e.g
Sorry Im half asleep, hopefully u get what im doin
|
This won't do anything because i want to know that when vehicle change his gear.
And u have done Gear(playerid) = 0 when player connect which show the player that vehicle is running at the 0 gear at every moment.