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


返回:

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.