This library makes it easy to hook into the San Andreas process and manipulate it's memory values using the C# programming language (any .NET language should be ok though). It has various read/write functions along with a few other helpfull ones such as capturing key presses or editing files, they are all explained using intellisense and are pretty straight forward.
The zip contains a readme, the xml file with the explinations for the functions and the EasyEdit library itself, the readme explains how to use the library but I've also provided an example below.
1.3 - (12/12/2010):
Removed the executable name requirement for the constructors path parameter
Added "GetPlayerPointer" and "GetPlayerVehilePointer" functions for ease of use
Corrected some of the constant names to reflect the value more clearly
1.2 - (08/12/2010):
Added quite a few constants containing either a base or an offset for usefull addresses
1.1 - (07/12/2010):
Added "StopSanAndreas" - Kills the San Andreas process
Added "AreKeysPressed" - Checks if two keys are currently pressed, a wrapper around "IsKeyPressed" for ease of use
Added "WriteScmInt, WriteScmSingle, ReadScmInt, ReadScmSingle" - read/write global variable values from/to the SCM
Added a second constructor method which allows a path to be passed for applications outside the SA root folder
Updated all string functions with a boolean encoding setting
Updated the intellisense to include return types in all none void functions
Updated the intellisense to reflect the changes in 1.1
An example console application which changes the players money value when pressing the keys or stops San Andreas:
| using System; |
static void Main(string args)
Easy ee = new Easy();
int money = Easy.ADDRESS_PLAYER_MONEY;
if (ee.GetPlayerPointer() != 0)
if (ee.IsKeyPressed(Keys.F5)) ee.WriteInt(money, 55555);
else if (ee.IsKeyPressed(Keys.F6)) ee.WriteInt(money, 1);
else if (ee.IsKeyPressed(Keys.F7))
The above is a standard console appliation I made in Microsoft Visual C# 2010 Express, the references were like so:
Please feel free to leave a comment, report any issues you come across, give feedback or suggest a feature etc.
@Mods and anyone wondering:
I've attempted to block EasyEdit while in multiplayer, I don't support cheating incase you wonder, this is aimed at singleplayer.