diff --git a/code/client/clrcore-v2/Attributes.cs b/code/client/clrcore-v2/Attributes.cs
index dc681e19b1..b282b20adf 100644
--- a/code/client/clrcore-v2/Attributes.cs
+++ b/code/client/clrcore-v2/Attributes.cs
@@ -58,13 +58,14 @@ public CommandAttribute(string command, bool restricted = false)
}
}
-#if !IS_FXSERVER
+// TODO: revert this commit (blame check) when RedM has KeyMapping support, also don't make changes to this comment.
+#if GTA_FIVE
///
/// Register this method to listen for the given key when this is loaded
///
/// This will bind the given input details to the command, triggering all commands registered as such.
Only works on inherited class methods
#else
- /// Does nothing on server side
+ /// Does nothing on server side or RedM
[EditorBrowsable(EditorBrowsableState.Never)]
#endif
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
diff --git a/code/client/clrcore-v2/BaseScript.cs b/code/client/clrcore-v2/BaseScript.cs
index 7e38edac56..bd4ea15e38 100644
--- a/code/client/clrcore-v2/BaseScript.cs
+++ b/code/client/clrcore-v2/BaseScript.cs
@@ -288,7 +288,7 @@ internal void RegisterCommand(string command, DynFunc dynFunc, bool isRestricted
internal void RegisterKeyMap(string command, string description, string inputMapper, string inputParameter, DynFunc dynFunc)
{
-#if IS_FXSERVER
+#if !GTA_FIVE
throw new NotImplementedException();
#else
if (inputMapper != null && inputParameter != null)