Jump to content

Drive-by from driver seat


Recommended Posts

This is a question to MTA developers because they did this in MTA. I'm making a mod for GTA SA and one of features is drive-by with full aiming from driver seat. But there's a bug that keeps turning camera to the front. I noticed this stops for a few seconds if I turn camera with keys on the keyboard. So maybe there's a timer or something like that? What values do I have to change in game memory to fix that bug?

Link to comment

This happened in early versions of MTA, too. This might be relevant:

// Players can fire drivebys whatever camera mode
   // 627E01 - 6 bytes
       memset ( (LPVOID)0x627E01, 0x90, 6 );
 
       memset ( (LPVOID)0x62840D, 0x90, 6 );

There's also a bug where driveby mode means you cant fall off your bike. this is also patched in MTA:

// Prevent gta stopping driveby players from falling off
       memset ( (LPVOID)0x6B5B17, 0x90, 6 );

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...