IsPlayerMuted: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 15: Line 15:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
someguy = getPlayerFromNick ( "someGuy" )
someguy = getPlayerFromNick ( "someGuy" )
if ( isPlayerMuted ( someguy ) then
if isPlayerMuted ( someguy ) then
   outputChatBox ( "It seems Someguy can't speak." )
   outputChatBox ( "It seems Someguy can't speak." )
end</syntaxhighlight>
end
</syntaxhighlight>


==See Also==
==See Also==
{{Player functions}}
{{Player functions}}

Revision as of 18:21, 7 December 2008