Set overhead text||doc135480

September 20, 2022

Format

 Entity:showHeadMessage(txt) 
  • The class to which the function belongs:Entity

Description

Sets the chat text above the entity object's head.


Parameters

Variable name type Description
txt string text content


Code Samples

on the object clientmount script, set the chat text above the entity object's head to "Hello, Brave"

this:showHeadMessage('Hello, brave')