-
Автор темы
- #1
Защита как бы есть,но, корд показывает без пароля и логина. вот код
UI.AddCheckbox("Security");
UI.AddTextbox("Username");
UI.AddTextbox("Password");
UI.AddLabel("Zdarova terpila");
var username = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
var password = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
function interface() {
var username = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
var password = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
if ((username == "magister") && (password == "test")) {
UI.SetEnabled("Script Items", "Zdarova terpila", true)
}
else {
UI.SetEnabled("Script Items", "Zdarova terpila", false)
}
}
;function menuopen() {
if (UI.IsMenuOpen() == false) {
interface();
}
}
Cheat.RegisterCallback("Draw", "menuopen")
UI.AddCheckbox("Security");
UI.AddTextbox("Username");
UI.AddTextbox("Password");
UI.AddLabel("Zdarova terpila");
var username = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
var password = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
function interface() {
var username = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
var password = UI.GetString("MISC", "JAVASCRIPT", "Script Items", "1");
if ((username == "magister") && (password == "test")) {
UI.SetEnabled("Script Items", "Zdarova terpila", true)
}
else {
UI.SetEnabled("Script Items", "Zdarova terpila", false)
}
}
;function menuopen() {
if (UI.IsMenuOpen() == false) {
interface();
}
}
Cheat.RegisterCallback("Draw", "menuopen")