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

Console::logInfo

Материал из RAGE MP Wiki Archive
Версия от 12:56, 21 апреля 2020; imported>Bonus (Fix small typo)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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