跳到主要內容

10 篇文件帶有標籤「chat」

查看所有標籤

OnClientMessage

This callback gets called whenever the NPC sees a 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.