Skip to content

Commit

Permalink
add useDefaultVehicleEntering property to mp.game.pad
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardssh committed Nov 27, 2021
1 parent 95e919f commit 69c025c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/client/game/pad.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
declare interface GamePadLegacy {
/**
* Enable/Disable RageMP's controls for entering a vehicle.
*
* False = Holding F and pressing F both go to the driver's seat
*
* True = Holding F will go to the passenger seat, pressing F will go to the driver's seat.
*/
useDefaultVehicleEntering: boolean;

isInputDisabled(padIndex: number): boolean;
isInputJustDisabled(padIndex: number): boolean;
getControlActionName(padIndex: number, control: number, p2: boolean): string;
Expand Down

0 comments on commit 69c025c

Please sign in to comment.