Installation

This resource has no dependencies and can be run with any framework, or completely standalone.

Requirements

  • FiveM server
  • No additional dependencies required

Installation Steps

Step 1: Download the Resource

Download legends_driveby from your Keymaster grants or the store.

Step 2: Extract to Resources

Place the legends_driveby folder into your server's resources directory.

resources/
└── legends_driveby/
    ├── fxmanifest.lua
    ├── config.lua
    ├── client/
    │   ├── client.lua
    │   └── fps.lua
    └── server/
        └── server.lua
⚠️

Important: The resource folder must be named exactly legends_driveby. The resource will not function if renamed.

Step 3: Add to Server Config

Add the following line to your server.cfg:

ensure legends_driveby

Step 4: Configure (Optional)

Customize the drive-by behavior in config.lua. See the Configuration page for all options.

Step 5: Restart Server

Restart your server or use the refresh and ensure legends_driveby commands.

Default Controls

ActionDefault KeyNotes
Toggle Drive-byGCan be changed by players in FiveM Settings > Keybinds

Players can customize their keybind at any time via ESC > Settings > Keybinds > FiveM. The default keybind only applies to players who haven't set a custom one.

Verification

After installation:

  1. Enter a vehicle as a passenger (not driver)
  2. Press G (or your configured key)
  3. Your character should lean out of the vehicle
  4. Press G again to return to normal position

Need help? Join our Discord (opens in a new tab) and open a support ticket!


Legends Store - Premium FiveM Scripts