<https://gtaforums.com/topic/194199-documenting-gta-sa-memory-addresses/page/14/#comment-3548503>
<http://schema.org/text>
"Hi, \nI've got al little question. \nI'm going to make a little trainer for the new version (1.5) of my MainScripter (see ). When I try to read-out the CPed-Structure with: (Visual Basic 6) \n  \n ReadProcessmemory dwProcessHandle(the Variable with the handle/id of the GTASA Process), &amp;HB74490 (see Thread Page 1), lngReadBuffer, 4, &amp;0 \n\n  \nthe it works. It delievers me a number. Then I try the following: \n  \n ReadProcessMemory dwProcessHandle, (lngReadBuffer (Carries the CPed-Structure) + &amp;H540), lngHealthBuffer, 4, &amp;0 \n\n. \nBut everytime I try this and print it with: \n  \n Debug.Print lngHealthBuffer \n\n  \nit delivers me a 0 or a 1. \nWhat can I do? What do I wrong? \nCould any one out there please help me? \nThx, \nChristoph680 \n  \nP.S. \nIf it's anyone helping to understand what I mean, here's the syntax of the ReadProcessMemory-Function: \n  \n Public Declare Function ReadProcessMemory Lib \"kernel32\" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, _   ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long \n\n   \n"
<https://gtaforums.com/topic/194199-documenting-gta-sa-memory-addresses/page/14/?tab=comments#comment-3466922>