MTA:SA anti-cheat code
MTA:SA anti-cheat code SD#31
MTA ignored keyboard input that was sent by software rather than typed.
How to fix it
Close macro and automation software
Programs that send key presses, such as macro tools and some mouse or keyboard suites, cause this. Close them and play with real input.
Read the whole message, then the official page
The number names a detection category, not a program on your computer. MTA's anti-cheat guide lists what each category covers, and the full message is what tells you which case you are in.
Still not fixed? Copy the whole message, not only the code, and check your log in the Fix tool. It is read on your own computer.
MTA's documented behaviour here is to ignore the input, which is not the same as a ban.
About this code
SD codes are special detections a server can switch on. Most of them are about the environment MTA is running in: a virtual machine, a blocked component, or a program that can change how the game runs. MTA's own documentation gives SD#31 as Injected keyboard input ignored.
All fix guides · Every MTA:SA error code · Crash codes and offsets
Where this comes from
Read on 5 September 2026 and written in our own words here.