إنتقل إلى المحتوى الرئيسي

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.