Trainers allow you to turn on and off certain qualities or enhancements that were not included in the original game. This could be Unlimited Lives, Unlimited Money, Invulnerability, etc. The trainer alters the original memory locations to allow you to "Cheat" where you wouldn't be able to do so without it.
MTA does not support the usage of cheats, mods, hacks and other unknown qualities.