Hallo Community,
ich möchte euch heute mal ein EngineToggle Script vorstellen was sicherlich vielen von euch gefallen wird.
- Der Motor bleibt eingeschalten wenn man aussteigt und ihn nicht manuell ausschaltet.
- Man kann einstellen, ob der Motor beim einsteigen automatisch gestartet wird oder nicht.
- Ob ein Hotkey oder ein Command genutzt werden soll.
- Welches Notify genutzt werden soll
- Es gibt aktuell 3 zur Auswahl
- Und wer das Script VehicleKeyChain besitzt kann dies auch aktivieren
- Man kann dann nur als Fahrzeug Besitzer oder Besitzer eines Schlüssels das Fahrzeug starten
- Hotwire Funktion kompatibel mit VKC
FiveM Forum: https://forum.cfx.re/t/re-release-enginetoggle/4793840
Github Download: https://github.com/Musiker15/EngineToggle
Für Support ein weitere Scripts einfach auf den Discord kommen: https://discord.gg/5hHSBRHvJE
Config
Code
Config = {}
----------------------------------------------------------------
Config.Locale = 'de'
Config.VersionChecker = true
----------------------------------------------------------------
-- Change 'false' to 'true' to toggle the engine automatically on when entering a vehicle
Config.OnAtEnter = false
----------------------------------------------------------------
Config.UseKey = true -- Set true if you want to use a Hotkey
Config.ToggleKey = 244 -- M (https://docs.fivem.net/docs/game-references/controls/)
Config.UseCommand = false -- Set true if you want to use a Command
Config.Commad = 'engine'
----------------------------------------------------------------
-- If both false then Default ESX Notification is active!
Config.Notifications = false -- https://forum.cfx.re/t/release-standalone-notification-script/1464244
Config.OkokNotify = true -- https://forum.cfx.re/t/okoknotify-standalone-paid/3907758
----------------------------------------------------------------
-- Vehicle Key System - set true then only the Owner of the Vehicle or someone with a Key can start the Engine
Config.VehicleKeyChain = false -- https://kiminazes-script-gems.tebex.io/package/4524211
----------------------------------------------------------------
Config.RemoveLockpickItem = true -- Set true if you like to remove item after failing lockpicking
Config.LockpickItem = 'lockpick' -- Set the itemname what you want to use
Config.startEngine = true -- Set true if you want to start the engine after successfull lockpicking
Config.Probability = {
lockpick = 66, -- default: 66%
alarm = 33, -- default: 33%
enableSearchKey = true, -- Set false if you dont want this
searchKey = 66 -- default: 66%
}
Config.LockpickKey = {
enable = false, -- Set to true if you want to use a Hotkey
key = 38 -- default: E // Set the Hotkey
}
Config.ProgessBar = {
enable = true, -- Set true if you want to show a progressbar
time = 8 -- In seconds // Time how long does it takes
}
Config.Animation = {
InsideOutsideAnimation = true, -- Set to false if you want same Animation for inside and outside
generalAnimation = 'WORLD_HUMAN_WELDING',
insideVehicle = { -- Animation inside Vehicle
dict = 'anim@amb@clubhouse@tutorial@bkr_tut_ig3@',
anim = 'machinic_loop_mechandplayer'
},
outsideVehicle = { -- Animation outside Vehicle
dict = 'anim@amb@clubhouse@tutorial@bkr_tut_ig3@',
anim = 'machinic_loop_mechandplayer'
}
}
Alles anzeigen
Requirements
- ESX 1.2 (v1-final)
Optional
- Notification (https://forum.cfx.re/t/release…tification-script/1464244)
- okokNotify (https://okok.tebex.io/package/4724993)
- VehicleKeyChain (https://kiminazes-script-gems.tebex.io/package/4524211)
- ProgressBar (https://forum.cfx.re/t/release…e-smooth-animation/838951)
License
GNU General Public License v3.0
Das Script kann genutzt und nach wünschen bearbeitet werden. Jedoch bitte nicht hochladen ohne mich im Credit zu erwähnen.