Jump to content

Disable shooting/fire weapon thru memory


HeresOtis

Recommended Posts

Any memory address to disable player weapon shooting/disable fire weapon key?

 

What's the opposite of 0x90909090? How to re-enable a memory address?

Link to comment
Share on other sites

Can't you use an opcode for that?

 

Also, the opposite of 0x90909090 is what the memory was before it was NOPed. Say, it's different for each case.

Link to comment
Share on other sites

Can't you use an opcode for that?

 

Also, the opposite of 0x90909090 is what the memory was before it was NOPed. Say, it's different for each case.

Lol I found the opcode. I couldn't find anything at first because a lot of the opcode descriptons changed since v1 (I believe) of sascm.

Anyways, its 0881.

 

So to re-enable, I store the value of the memory in a variable, then restore when I want to enable it?

Link to comment
Share on other sites

That could do. Or just look up what's the original code.

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.