IsGamePaused
This function was added in DSL 3
Description
Checks if the game is... paused.
function IsGamePaused() --[[ ... ]] end
Parameters
None.
Return Values
paused
:boolean
- Returnstrue
if the game is paused, otherwisefalse
.
Example
if IsGamePaused() then
print('The game is paused.')
else
print('The game is not paused.')
end