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