Caricamento...

Restrict Egress 2.2.0

974fc6 pre2

1.317

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

Primo Caricamento: 24 maggio 2024
Ultimo Aggiornamento: 14 gennaio 2025
Last Downloaded: 4 hours ago

All Versions

 2.2.0 (current)

190 downloads , 4 KB
14 gennaio 2025

 2.1.0

168 downloads , 4 KB
03 gennaio 2025

 2.0

343 downloads , 2 KB
07 agosto 2024

 1.1.0

429 downloads , 1 KB
28 maggio 2024

 1.0.0

190 downloads , 1 KB
24 maggio 2024

26 Commenti