This site has been archived and made available for preservation purposes. No edits can be made.

ChatMessage

Displays a chat message to a Player.

[top]Declaration

Code cpp:
VAULTSCRIPT VAULTSPACE State (*VAULTAPI(ChatMessage))(VAULTSPACE ID, VAULTSPACE cRawString) VAULTCPP(noexcept);
Code c:
native Bool:ChatMessage(ID, const message{});

[top]Parameters

ID - the ID of the Player. If zero, will be sent to all connected players
cRawString - the message to display, with a maximum length of MAX_CHAT_LENGTH characters

[top]Return value

Returns a State indicating the success.

[top]Related pages