Difference between revisions of "0A8C"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{This|Use 05DF for legacy versions of CLEO for GTA III and Vice City.}}
+
{{This|For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05DF.}}
{{Icon|t}} (with [[CLEO]])
+
{{OpCode
<hr />
+
| games      = {{Icon|t}} (with [[CLEO]])
'''Description'''
+
| description = Writes a value to the game memory
: Writes a value to the game memory
+
| syntax1    = 0A8C: write_memory [''int1''] size [''int2''] value [''any''] virtual_protect [''int3'']
'''Syntax'''
+
| p1t        = [''int1'']
: 0A8C: write_memory [''int1''] size [''int2''] value [''any''] virtual_protect [''int3'']
+
| p1d        = [[:Category:Memory Addresses|Memory address]] (generally a hexadecimal value, which is indicated by the leading characters <code>0x</code>)
'''Parameter'''
+
| p2t        = [''int2'']
: [''int1'']
+
| p2d        = Number of bytes to write: 1, 2 or 4 bytes
:: [[:Category:Memory Addresses|Memory address]] (generally a hexadecimal value, which is indicated by the leading characters <code>0x</code>)
+
| p3t        = [''any'']
: [''int2'']
+
| p3d        = Value to write (any data type)
:: Number of bytes to write: 1, 2 or 4 bytes
+
| p4t        = [''int3'']
: [''any'']
+
| p4d        = 0 = if the address is rewritable, 1 = if the address is read-only
:: Value to write (any datatype)
+
}}
: [''int3'']
 
:: 0 = if the address is rewritable, 1 = if the address is read-only
 
  
 
This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of [[CLEO]] and you must install it in order to utilize this opcode.
 
This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of [[CLEO]] and you must install it in order to utilize this opcode.
Line 20: Line 18:
 
== Keywords ==
 
== Keywords ==
 
CLEO, write, memory, address
 
CLEO, write, memory, address
 +
 +
== See also ==
 +
* {{Icon|t}} [[0A8D]], reads a value from game memory
  
 
[[Category:CLEO Opcodes]]
 
[[Category:CLEO Opcodes]]

Revision as of 17:39, 7 January 2016

For CLEO for GTA III and Vice City prior to v2.0.0.0, use opcode 05DF.

GTA III Vice City San Andreas (with CLEO)


Description
Writes a value to the game memory
Syntax
0A8C: write_memory [int1] size [int2] value [any] virtual_protect [int3]
Parameter
[int1]
Memory address (generally a hexadecimal value, which is indicated by the leading characters 0x)
[int2]
Number of bytes to write: 1, 2 or 4 bytes
[any]
Value to write (any data type)
[int3]
0 = if the address is rewritable, 1 = if the address is read-only

This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of CLEO and you must install it in order to utilize this opcode.

Keywords

CLEO, write, memory, address

See also

  • GTA III Vice City San Andreas 0A8D, reads a value from game memory