Usage

Syntax: function onRemotePlayerChats(playerObject, chatText) { }

Explanation

Similar to onPlayerChats, but is called when another player writes something.

Example

//#CLIENTSIDE
function onRemotePlayerChats(playerObject, chatText)
{
  echo(playerObject.nick @ " said " @ chatText);
}

... echoes what other players are saying.

Categories

CategoryFunctionEvent
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki