GetPlayerBlurLevel
Jump to navigation
Jump to search
This function allows you to check the current blur level of a specified player.
Syntax
int getPlayerBlurLevel ( player thePlayer )
Required Arguments
- thePlayer: The player whose blur level you want to check.
Returns
Returns integer containing the player's blur level, false if an invalid player was given.
Example
This example adds a command blurlevel with which you can check your current blur level.
function checkBlurLevel( playerSource ) local blur = getPlayerBlurLevel( playerSource ) if blur then outputChatBox( "Blur level: " .. blur, playerSource ) end end addCommandHandler("blurlevel", checkBlurLevel)
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState