- Documentation
- Server functions
- getPlayerScriptDebugLevel
Function
getPlayerScriptDebugLevel
Returns the level of script debug messages the player sees (0-3).
Syntax
int getPlayerScriptDebugLevel(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
The level.
Example
outputChatBox("Debug: " .. getPlayerScriptDebugLevel(player), player)