π²Bikerack
Introduction
This standalone script will allow you to carry and store a bike onto the back of a vehicle.
Bikes can be picked up by using the command or key bind, depending on what is set up within the configuration. The vehicles and bikes that can be used are also customizable, and the ability to configure the position and rotation of the bikes in the player's hands and on the vehicle.
In the config you can set one of the following options to pickup the bike:
Chat command
Either custom or default of
/pickup
Text prompt "Press E to pickup bike"
Target
Support included for QBTarget and QTarget
This is a standalone script, however, you can enable some QBCore support or QTarget within the config.
Installation
Download the power_bikerack from Keymaster
Add the files to your resources folder
Ensure that the resource file will start (either ensure your resource in the server.cfg or inside a folder which is started on server start)
Edit the config file to your needs
Restart your server
Configuration
Select the tab below to see the configuration options available.
These bikes are added by default, if you want to add more, please use the below as a guide.
If you want to remove a certain bike, you can comment out the line.
The bike must also be added to the rackableVehicle list to be able to be loaded in a particular vehicle.
This is where you can define which bikes can be loaded in which vehicles and adjust the placement. The bikes must already be in the rackableBikes list before adding to the rackableVehicles.
Some vechicles with seperate options have been included. You can use this as a guide to add additional vehicles or change which bikes are permitted per vehicle.
The language section is also included in the config so that you can change the text or translate to another language if needed.
Editable files
target.lua
Target
If you are using a target system other than qbtarget or qtarget, you can set the custom target message here:
Custom Notifications
If you would like to edit the notifications to add your own custom notifications or to match them to your other server notifications, you can edit them in the target.lua file. Default notifications are as follows:
Last updated