Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    2. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    3. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    4. Bugs*

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    6. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[V] Script/Native Documentation and Research


Alexander Blade
 Share

Recommended Posts

Now that the new update for scripthookv is out, and working correctly alongside the EGS GTAV version, do we have to wait for a new update for Community ScriptHookV .NET ? Or is it ok to download the latest version that is up (3.0.3) and use it?

 

Im very new to GTA 5 modding, and have been using a few mods with little issues. However there are a few that I have had my eye on that require Scripthookv.net as well as scripthookv. 

 

Just checking, because I cannot find a clear answer anywhere on the internet. However, I am assuming they do work together fine since I can't seem to find any complaints about it either...

Link to comment
Share on other sites

  • 2 weeks later...
On 6/2/2020 at 4:58 PM, ikt said:

@schlopp96

 

The current SHVDN works fine on the latest EGS game version.

I ended up trying for myself a while back, and I can indeed confirm that it's working just fine

 

Thank you!

Link to comment
Share on other sites

  • 2 months later...

Hey bro i was wondering when the new update for script hook v will be out?! Thx for  all you do man

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
TheChilliPL

The decompiled scripts dropbox link (on both dev-c.com and the 1st post on this topic) is dead, gives 404.
Also, does anyone know how GTA detects if the car is stuck? (for mission fail condition “The car got stuck”)

Link to comment
Share on other sites

1 hour ago, TheChilliPL said:

The decompiled scripts dropbox link (on both dev-c.com and the 1st post on this topic) is dead, gives 404.
Also, does anyone know how GTA detects if the car is stuck? (for mission fail condition “The car got stuck”)

 

These are all the "stuck" related natives:

BOOL IS_VEHICLE_STUCK_ON_ROOF(Vehicle vehicle) { return invoke<BOOL>(0xB497F06B288DCFDF, vehicle); } // 0xB497F06B288DCFDF 0x18D07C6C b323
void REMOVE_VEHICLE_STUCK_CHECK(Vehicle vehicle) { invoke<Void>(0x8386BFB614D06749, vehicle); } // 0x8386BFB614D06749 0x81594917 b323
BOOL DOES_VEHICLE_HAVE_STUCK_VEHICLE_CHECK(Vehicle vehicle) { return invoke<BOOL>(0x57E4C39DE5EE8470, vehicle); } // 0x57E4C39DE5EE8470 0x5D91D9AC b323
void ADD_VEHICLE_STUCK_CHECK_WITH_WARP(Any p0, float p1, Any p2, BOOL p3, BOOL p4, BOOL p5, Any p6) { invoke<Void>(0x2FA9923062DD396C, p0, p1, p2, p3, p4, p5, p6); } // 0x2FA9923062DD396C 0xC8B789AD b323
BOOL IS_VEHICLE_STUCK_TIMER_UP(Vehicle vehicle, int p1, int p2) { return invoke<BOOL>(0x679BE1DAF71DA874, vehicle, p1, p2); } // 0x679BE1DAF71DA874 0x2FCF58C1 b323
void RESET_VEHICLE_STUCK_TIMER(Vehicle vehicle, int nullAttributes) { invoke<Void>(0xD7591B0065AFAA7A, vehicle, nullAttributes); } // 0xD7591B0065AFAA7A 0xEF2A6016 b323

 

Example from agency_heist1.c

if (((VEHICLE::IS_VEHICLE_STUCK_TIMER_UP(iLocal_1012, 0, 7000) || VEHICLE::IS_VEHICLE_STUCK_TIMER_UP(iLocal_1012, 3, 30000)) || VEHICLE::IS_VEHICLE_STUCK_TIMER_UP(iLocal_1012, 2, 30000)) || VEHICLE::IS_VEHICLE_STUCK_TIMER_UP(iLocal_1012, 1, 40000))
{
	func_13("S1_VEHSTUCK");
}

 

Edited by LeeC22
Link to comment
Share on other sites

  • 6 months later...

Hi, I've been having a problem with gta 5 script hook for a while now and have not had any luck fixing it. my problem is when i install script hook to the gta 5 folder and go to launch the game it gives me this error message and script hook doesn't work. I've reinstalled the game numerous times and nothing changes.https://photos.google.com/photo/AF1QipMnmbtOUabdGqushb6RXP9jjB0VH2kooG6CLcaS any help? thanks 

Link to comment
Share on other sites

  • 2 months later...

Hi guys,

 

Anybody has experienced issues with ScripthookV not working with the new game version (1.0.2372.2)??? It says it works with up to 1.0.2372.0, but apparently there's been an update in Epic Games.

 

Thanks

  • Like 1
  • YEE 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.