Перейти к содержанию

Console::logInfo

Материал из RAGE MP Wiki Archive

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