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

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki