Jump to content

[V] Script/Native Documentation and Research


Alexander Blade

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...

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

  • 6 months later...
Californiasomething

Alexander, I know you're hard at work on the update to scripthook. I tried to donate some money via paypal on your website and it said you were unable to accept money at this time. Is everything ok?

Link to comment
Share on other sites

DarkJanissary

1 week passed and nothing. Rumors going on forums that Russian Alexander Blade joined the Ukrainian war and even got killed there. I hope it is not true.

You can see on his profile that he never logged in after February 19th.

Edited by DarkJanissary
Link to comment
Share on other sites

5 hours ago, DarkJanissary said:

1 week passed and nothing. Rumors going on forums that Russian Alexander Blade joined the Ukrainian war and even got killed there. I hope it is not true.

You can see on his profile that he never logged in after February 19th.

 

I noticed he had posted in another section of the forums today requesting an updated exe file from GTA5 (which I posted a link to), seems he lives in an area suffering major problems. This update could probably take quite some time...

Edited by LeeC22
Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...
BadNinja

My gta v has been recently updated and script hook v is not working for the new version. How do i make it work?

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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