Jump to content

Replacing opcode: 0A96


SigiloHQ

Recommended Posts

Im current porting some SA pc mods to android, i need know how i do replace this opcode:

0A96: 0@ = actor $PLAYER_ACTOR struct

on the other it easier to work on android.

Edited by SigiloHQ
Link to comment
Share on other sites

ThirteenAG

You can check swimming sources from here: https://dl.dropboxusercontent.com/u/13992625/gta/stuff/mobile/gtavc.android.climbing_and_swimming.zip

 

 

0DD0: 6@ = get_label_addr @_ZN6CPools6GetPedEi0DD1: 6@ = get_func_addr_by_cstr_name 6@    ...0DD3: context_set_reg 0 value _PLAYER_ACTOR0DD2: context_call_func 6@0DD4: 0@ = context_get_reg 0 // 0@ - CPed
Edited by ThirteenAG
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.