OnClientMessage
Revision as of 15:46, 9 March 2022 by 157.46.138.66 (talk) (Created page with "{{Welcome| desc=This function is called when the server sends client message to NPC.| params=<syntaxhighlight lang="lua">(r, g, b, message)</syntaxhighlight> <poem>::r : The a...")
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"); }