RC2 HUD Functions/displaySubtitle
From Vice City Online Wiki
clearGameText •
displayGameText •
displayHelpBox •
displaySubtitle •
flashRadar
forceHUDDisabled •
getHUDComponentColor •
isHUDComponentPresent
setHUDComponentColor •
toggleHUDComponent
[edit]
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.
