Wird geladen...

Restrict Egress 2.2.0

974fc6 pre2

973

While the initial version of the script only disabled exiting a vehicle while its moving, never versions also allow you to use:
Delay Egress - After pressing the exit key the game waits a specified timespan(specified in config), after this timespan is over you will exit the vehicle. But if you press the exit key again in this timespan, the egress will be canceled.
Hold To Egress - Self explanatory

Exit Vehicle if it's on fire.
Exit non-water vehicles if submerged in the ocean.
Both of these features have to be enabled in configuration file!


Note: I am looking for mod ideas, if you got an idea please comment.

In recent versions of GTA5 SHVDN doesn't work properly, if you are affected please use a nightly build of SHVDN instead: https://github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases/
[Requirements]
  • Scripthook
  • Scripthook V .Net

[Installation]
Put the DLL file into your scripts folder, if you do not have one just create the folder by yourself.

[Changelog]
2.2.0
-Made water check more reliable
-Small code changes
2.1.0
-Added the ability to exit the vehicle if it's on fire. (can be disabled in config)
-Added the ability to exit non water vehicles if submerged in the ocean.

2.0.0
-Added config
-Added Hold To Egress (THX @SimpleBasix)
-Added Delayed Egress (THX @SimpleBasix)

1.1.0
-Fixed bug where the vehicle would still be locked after Player crashed and flew out the window.
Show Full Description

Zuerst hochgeladen: 24. Mai 2024
Letztes Update: vor 3 Tagen
Last Downloaded: 8 hours ago

All Versions

 2.2.0 (current)

39 Downloads , 4 KB
vor 3 Tagen

 2.1.0

103 Downloads , 4 KB
3. Januar 2025

 2.0

297 Downloads , 2 KB
7. August 2024

 1.1.0

387 Downloads , 1 KB
28. Mai 2024

 1.0.0

147 Downloads , 1 KB
24. Mai 2024

26 Kommentare