SendChat

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
This will send a chat message to the server.


Parameters:

(text)

text : The text to send as chat message.


Return Values:
This function does not return any specific values.


Example

function OnPlayerText(player, message)
{
	if(message=="Hello")
	{
	SendChat("Hi. How are you?");
	}
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.