Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ClientPrintEx

Extended version of ClientPrint. Sends a text message to the connected client with custom formatting options.

This message is sent only to the client — it is not transmitted to the server and is not visible to other players.

Расширенная версия ClientPrint. Отправляет текстовое сообщение подключённому клиенту с настраиваемым форматированием.

Сообщение отправляется только клиенту — оно не передаётся на сервер и не видно другим игрокам.

Pascal

procedure ClientPrintEx(SenderID: Cardinal; Color: Word; Font: Word; Text: String);

Parameters:

  • SenderID — ID of the object above which the text will appear. 0 = text appears in the lower-left corner of the screen.
  • Color — text color. 0 = default color.
  • Font — font type. 0 = default font.
  • Text — message text.

Python

def ClientPrintEx(SenderID: int, Color: int, Font: int, Text: str) -> None: ...

Pascal Example

begin
  // Show text above the character
  ClientPrintEx(Self, 0, 0, 'Script loaded :)');

  // Show colored text in the corner
  ClientPrintEx(0, 33, 0, 'Warning: low HP!');
end.

Python Example

# Show text above the character
ClientPrintEx(Self(), 0, 0, 'Script loaded :)')

# Show colored text in the corner
ClientPrintEx(0, 33, 0, 'Warning: low HP!')

See Also

ClientPrint, UOSay