Quantcast

Jump to content

» «
Photo

Documenting GTA-SA memory adresses

1,352 replies to this topic
AlexTMjugador
  • AlexTMjugador

    Hi!

  • Members
  • Joined: 12 Aug 2011
  • Spain

#1351

Posted 3 days ago

Thank you very much Seeman, but that isn't what I was looking for. Forgive me if I explained myself wrong :)

 

What I want to know is the memory adress of a CVehicle class method for toggling the engine broken state of a vehicle, if it exists. For example, I know that there's a method in that class to set vehicle engine state (whether it's on or off) at adress 0x41BDD0: CVehicle::SetEngineOn(bool). I only mentioned that opcode because it's kinda related with the method I said, functionality-wise (altrough I know they're different things code-wise, of course).

 

Thanks in advance :D


Seemann
  • Seemann

    Ruhe

  • Members
  • Joined: 03 Sep 2004
  • Russia
  • Best Tool 2013 "Sanny Builder"

#1352

Posted 3 days ago Edited by Seemann, 3 days ago.

Well, you know, it's just a flag, one bit in the particular field in a CVehicle struct. You dont need a method to switch one bit. That's why the method you're looking for does not exist. Use the code above.

AlexTMjugador
  • AlexTMjugador

    Hi!

  • Members
  • Joined: 12 Aug 2011
  • Spain

#1353

Posted 3 days ago

Ok, thanks for explaining :)





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users