Console::logError

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Logs a clientside error message

Syntax

Client-Side
mp.console.logError(mesage[, save[, saveAsync]]);

Required arguments

  • message: string

Optional arguments

  • save: boolean Saves message into a text file in the RAGEMP folder
  • saveAsync: boolean Saves message into a text file in the RAGEMP folder asynchronous

Example

Client-Side
mp.console.logError("example", true, true); // When pressing F11, you should now see a message saying "example"

See also