Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- CLEO script for GTA:SA wrote in GTA3script language (0.2.0)
- Description: Removes dealer help box by hacking his external script changing 88FE: opcode ("NOT IS_HELP_MESSAGE_BEING_DISPLAYED")
- into 0485: ("IS_PC_VERSION") (also named as "return_true" by modders)
- */
- {
- NOP
- LVAR_INT mAdress
- LVAR_INT tempVar
- mainloop:
- WAIT 0
- GET_SCRIPT_STRUCT_NAMED DEALER mAdress
- IF mAdress > NULL
- mAdress += 16 //base ip
- READ_MEMORY mAdress 4 FALSE mAdress
- mAdress += 2980 //offset
- READ_MEMORY mAdress 1 FALSE tempVar
- IF tempVar = 0xFE //88FE:
- WRITE_MEMORY mAdress 2 0x8504 FALSE
- ENDIF
- ENDIF
- GOTO mainloop
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement