OnClientMessage

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


Description:
This function is called when the server sends client message to NPC.


Parameters:

(r, g, b, message)

r : The amount of RED (0-255)
g : The amount of green (0-255)
b : The amount of blue (0-255)
message : The message the server has send.


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


Example

function OnClientMessage(r,g,b,message)
{
	print(message);print("\n");
}