Standalone Custom Jetpack
!!! NOW A USEABLE ITEM WITH QB-CORE & ESC v2 !!!
!!! UPDATED SYNCING WITH PLAYERS !!! v2
THIS CAN BE USED AS A COMMAND OR SET-UP AS AN INVENTORY ITEM PROVIDED THERE IS A CLIENT EVENT THAT CAN BE TRIGGERED ( I RECOMMEND CHANGING EVENT NAME )
OneSync Particles, Objects and more allowing players to see you gliding through the sky as seen below.
Runs at 0.0 ms when idle.
https://streamable.com/b9qbmt
A Standalone Custom Jetpack script that allows you to reach your dreams! Or hit a building at 1000km/h. Uses a custom event (that you are able to define the name of in the config) + a speed.
Comes with the custom model & animations, along with networked particles so players can see you fly in style!
You have the ability to change the colour of the jetpack using the texture dictionary files provided.
Works with ESX, QBCore or any framework - You can add your own checks into the code
Includes functions for on death and when parachuting! - Comes with a build in registered command
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 120 |
Requirements | Standalone |
Support | Partial Support via Forums |
Below is the functions available with the resource
RegisterCommand('jetpack', function(source, args, rawCommand)
TriggerEvent(Config.EventName, Config.DefaultSpeed)
end, false)
function playerHasDied(PlayerPedId)
-- Anything you wanna do can be done in here!
end
function playerHasPulledParachute(PlayerPedId)
-- Anything you wanna do can be done in here!
end
Blow is the config
Config.FlightKeys['Upwards'] = Keys['S']
Config.FlightKeys['Downwards'] = Keys['Z']
Config.FlightKeys['Forwards'] = Keys['SPACE']
Config.FlightKeys['Landing'] = Keys['X']
Config.LaunchCooldown = 1000
Config.AllowedHeightForLandings = 100.0 -- The allowed height before being able to perform a landing
Config.DefaultSpeed = 100 -- IF SPEED ISN'T SPECIFIED SET TO DEFAULT
Config.EventName = 'zoov_jetpack:launch'