Memory Functions

From SolarStrike wiki
Revision as of 04:23, 15 July 2008 by Elverion (talk | contribs) (memoryReadByte)
Jump to: navigation, search

memoryReadByte

byte memoryReadByte(handle, address)

Reads a specific memory adress and returns a single byte.


Example

HP = memoryReadInt( myProcess, 0x0D2E0F90); -- This will read 0x0D2E0F90 on MyProcess and store it into HP
 if( HP <= 100 ) then 
  printf("Hp[%d] dropping too low!",HP);
 end