debug_mode


描述

This read only variable returns true when the game is being played in debug mode and false when being played as normal.


语法:

debug_mode


Returns:

Boolean


例如:

if debug_mode
   {
   ini_open("Cheats.ini");
   }
else
   {
   ini_open("Game.ini");
   }

The above code opens a different ini file depending on the value of the read-only variable debug_mode.