Lelz
Active member
- Joined
- Jan 5, 2015
- Messages
- 76
- Reaction score
- 1
How does one go about editing a specific SAMP value at a memory address in C#? I found the memory address of the value and I understand that the address will change once the game is restarted etc. What I want to do is write a program to find the memory address of the value I wish to modify, then modify it. From my understanding, you then have to grab the process and then grab the base address of the "samp.dll" module. I have done that, but there seems to be more to it that I'm missing. The difference between the samp.dll base address and the address of the value I wish to modify changes by varying degrees. What am I missing? Do I need to find a pointer to the address? If so, how would I go about that?
So for example, if I wanted to set a player's drunk level to 10000 (the SAMP related value, not directly the effect). I would...
-Get the GTA process
-Get the base address of the samp.dll module
Then...?
So for example, if I wanted to set a player's drunk level to 10000 (the SAMP related value, not directly the effect). I would...
-Get the GTA process
-Get the base address of the samp.dll module
Then...?