Log in / create account

RC2 HUD Functions/displaySubtitle

From Vice City Online Wiki

displaySubtitle

Syntax: boolean displaySubtitle ( [ integer PlayerID ], string Message[], integer TimeInMilliseconds )

Parameters:

  • integer PlayerID - The ID of the player. This parameter is optional; without it, the function applies to all connected players.
  • string Message[] - The message to be displayed as a subtitle. (Must be between 1 and 255 characters)
  • integer TimeInMilliseconds - The time in milliseconds the subtitle should be displayed for. (1 second = 1000 milliseconds)

Returns:

  • boolean - Whether the function executed successfully or not.

Sample Implementation:

Coming soon.