Chuyển tới nội dung chính

10 tài liệu đã gắn thẻ được gắn thẻ "chat"

Xem tất cả thẻ

OnClientMessage

Callback này được gọi mỗi khi NPC thấy một ClientMessage.

SendChat

This will send a player text by the bot, just like using SendPlayerMessageToAll, but this function is to be used inside the NPC scripts.

SendClientMessage

This function sends a message to a specific player with a chosen color in the chat.

SendClientMessagef

This function sends a formatted message to a specific player with a chosen color in the chat.

SendCommand

This will force the NPC to write a desired command, and this way, getting the effects it would produce.