|0AE1: 1@ = random_actor_near_point 22@ 23@ 24@ in_radius 20.0 find_next 0 pass_deads 0 //IF and SET|
Please post mod releases in the Mod Showroom
Please read the Official Modification Forum Rules & Procedures BEFORE posting!
The following topics contain extremely useful data relating to the editing of missions and mission scripting:
If you are a begininer to mission coding, then please read Tutorial Links and Mission Coding Information.
Requests are to be made in the pinned topic.
Prevent dead body
Posted 17 April 2012 - 10:34 PM
Posted 18 April 2012 - 02:46 AM
|QUOTE (HeresOtis @ Tuesday, Apr 17 2012, 20:30)|
| Too advanced for me |
How do you NOP?
The NOP opcode (most used) in assembly language is the opcode 0x90, This instruction does nothing relevant.
So, NOP 7 bytes means, replace the opcodes there in a range of 7 bytes with a new one, that does nothing.
|// NOP 7 bytes @ 0x6121CD|
0A8C: write_memory 0x6121CD size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x6121D1 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x6121D3 size 1 value 0x90 virtual_protect 1
Edited by Link2012, 18 April 2012 - 02:52 AM.
Posted 18 April 2012 - 03:10 AM
And what if I want the ped to disappear again?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users