public bool PostFXManagergetEnableResultFromControl(string thisobj, coGuiControl control) { return control.getValue().AsBool(); }
public void MessageHudEditEval(coGuiControl thisobj) { string text = Util.collapseEscape(thisobj.getValue().Trim()); coGuiControl MessageHud = "MessageHud"; if (text != "") { console.commandToServer(MessageHud["isTeamMsg"].AsBool() ? "teamMessageSent" : "messageSent", new[] {text}); } //MessageHud.call("close"); MessageHudClose(MessageHud); }