IsPlayerMuted: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
   outputChatBox ( "It seems Someguy can't speak to you.", player )
   outputChatBox ( "It seems Someguy can't speak to you.", player )
  end</syntaxhighlight>
  end</syntaxhighlight>
==See Also==
{{Player functions}}

Revision as of 20:03, 20 May 2006

This function returns true if a player has been muted and false otherwise.

Syntax

bool isPlayerMuted ( player thePlayer )

Required Arguments

  • player: The player you are checking.

Returns

Returns true if a player has been muted and false otherwise.

Example

if ( isPlayerMuted ( findPlayer ( "someGuy" ) ) then
   outputChatBox ( "It seems Someguy can't speak to you.", player )
 end

See Also