APlayerController::ClientMessage

Outputs a message to HUD

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientMessage
(
    const FString & S,
    FName Type,
    float MsgLifeTime
)

Remarks

Outputs a message to HUD

Parameters

Parameter

Description

S

message to display

Type

MsgLifeTime

Optional length of time to display 0 = default time