Console::logInfo

From RAGE Multiplayer Wiki
Revision as of 12:56, 21 April 2020 by Bonus (talk | contribs) (Fix small typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Logs a clientside information message

Syntax

Client-Side
mp.console.logInfo(message[, 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.logInfo("example", true, true); // When pressing F11, you should now see a message saying "example"

See also