IT/isPlayerMuted

From Multi Theft Auto: Wiki
Revision as of 17:47, 6 June 2008 by Atti (talk | contribs) (New page: __NOTOC__ {{IT/Funzioni server client}} {{IT/MainP}} Questa funzione verifica se un player è stato 'zittito', cioè se gli è impedito di inviare messaggi in chat. ==Sintassi== <syntaxhighlight lang="lua">[l...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


« Torna alla Pagina principale italiana .

Questa funzione verifica se un player è stato 'zittito', cioè se gli è impedito di inviare messaggi in chat.

Sintassi

bool isPlayerMuted ( player thePlayer )

Argomenti richiesti

  • thePlayer: Il player che vuoi controllare.

Valori restituiti

Restituisce true se il player è stato 'zittito', altrimenti false.

Esempio

tizio = getPlayerFromNick ( "Tizio" )
if ( isPlayerMuted ( someguy ) then
   outputChatBox ( "Tizio non può scrivere in chat." )
end

Vedere anche