This script is made for RP recreational usage, where you can rent a bike, or go basejumping/parachuting with your friends.
The script is build in a way where it’s “easy” to add new functionality if you know a bit of code, the config is build around the needs I had for this script, and to make it possible to customize a lot of aspects.
Bike Rental is done a bit different then other scripts, noticed a couple of threads where people asked for some sort of way to keep track, if the bike is returned or not, this script dos that, and I uses LUA tables, so no need for MySQL, you can even configure a multiplier to control how much more expensive a bike will be if they never returned the first one (The rental circle changes color, when you have a rented bike you have not returned)
Basejumping is very simple, you are given a parachute, launched in to the air (the parachute will self release) and then you can glide a long and have a fun time, includes a warning text, that it might cause injury or death, since we know parachutes can be a bit glitchy.
Note
If you want to disable either bike rental or basejumping you can do so in config.lua just make sure to set both of these to false, then that part will be turned off.
Enable = true, -- Enable/Disable Bike Rental
EnableBlips = true, -- Enable/Disable Map Markers
Enable = true, -- Enable/Disable Basejumping
EnableBlips = true, -- Enable/Disable Map Markers
Download
https://github.com/benzon/DRP_RECREATION/archive/1.1.zip
Github
Credits/Inspiration
esx_shops - Jérémie N’gadi & ElPumpo (Inspiration to some parts of the config file and marker detection code.
ESX Bike Rental v5 - @sheen (Inspiration to do a bike rental script, since it lacked some of the features i wanted)
Auto-Parachute - @Yadiiiig for the auto parachute release.
Basejumping - N3MTV and Frostyy (Inspiration to add basejumping, done in away that suites what i wanted better)
Changelog
v1.1 - Fixed a minor issue with en.lua [‘dk’] replaced with [‘en’] thanks @XxFri3ndlyxX for catching that one!
Note
DrawDistance is set to a low value - i recommend changing it if you dont like that, the reason behind is i use a method to keep the ms usage low, so when you are not in rendering distance the script only checks if you are close to a marker every 500ms, this is done to gain better performance, no reason that it runs every tick.