128 {
129 #ifdef DEVELOPER
130 string code;
132 string codeNoReplace = code;
135 code.
Replace(
"Print(",
"ScriptConsoleEnfScriptTab.PrintS(");
136 code.
Replace(
"Print (",
"ScriptConsoleEnfScriptTab.PrintS(");
140
143 #endif
144 }
proto native bool ExecuteEnforceScript(string expression, string mainFnName)
Delevoper only: Executes Enforce Script expression, if there is an error, is printed into the script ...
MultilineEditBoxWidget m_EnfScriptEdit
void ColorRunButton(bool success)
ref TStringArray m_EnscriptConsoleHistory
PluginLocalEnscriptHistory m_ModuleLocalEnscriptHistory
proto native CGame GetGame()
proto int Replace(string sample, string replace)
Replace all occurrances of 'sample' in 'str' by 'replace'.