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

ClientPrintEx

Sending text line to connected Client, Extended version of ClientPrint) You can set:

  • SenderID (ID of object, text will be shown above of it). 0 means text will be in lower left corner of the screen
  • Color - Text color. 0 mean default color.
  • Font - Font type. 0 mean default font.

NB: This text sending only to client, not to server!

Pascal

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

Python

ClientPrintEx(SenderID, Color, Font, Text)

Example Pascal

PROGRAM Test;
begin
//some preparation
  ClientPrintEx(SelfID, 0, 0, 'Script loaded :)');
//main script body
 
end.