- 310
- 172
Все это реализуемое .Можно ли сделать ахк, чтобы оно на фоновом режиме заходило на почту, брало код,вводило в игру? Если да, то скиньте примеры для работы с сайтами
Примеры по работе с браузерами есть в интернете.
Ищи
Все это реализуемое .Можно ли сделать ахк, чтобы оно на фоновом режиме заходило на почту, брало код,вводило в игру? Если да, то скиньте примеры для работы с сайтами
C чем связана эта ошибка? Посмотреть вложение 13261
Код взят от сюда source code in Text only(https://dumpz.org/2705164/)
isDialogButton1Selected() {
return isDialogButtonSelected(1)
}
IniRead, Tag, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag
$~NumpadEnter::
$~Enter::
if (IsInChat() && !IsDialogOpen())
{
Sleep, 170
chatInput := readString(hGTA, dwSAMP + 0x12D8F8, 256)
if RegExMatch(chatInput, "^/r (.*)", out)
sendChat("/me сказал в рацию '"out1 "'")
; ==========================================
if RegExMatch(chatInput, "^/setTag (.*)", Tag)
{
iniwrite, %Tag%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag
addChatMessageEx(0xff8ca6,"Новый тэг: "Tag)
}
}
return
Реагирует на все, что связано" / ". Как исправить? А ещё когда хочешь отправить Нон РП сообщение, то оно дублирует его. Как сделать запрет на Нрн РП сообщение?Код:IniRead, Tag, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag $~NumpadEnter:: $~Enter:: if (IsInChat() && !IsDialogOpen()) { Sleep, 170 chatInput := readString(hGTA, dwSAMP + 0x12D8F8, 256) if RegExMatch(chatInput, "^/r (.*)", out) sendChat("/me сказал в рацию '"out1 "'") ; ========================================== if RegExMatch(chatInput, "^/setTag (.*)", Tag) { iniwrite, %Tag%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag addChatMessageEx(0xff8ca6,"Новый тэг: "Tag) } } return
$~NumpadEnter::
$~Enter::
if (isInChat() && !isDialogOpen())
{
Sleep 250
dwAddress := dwSAMP + 0x12D8F8
chatInput := readString(hGTA, dwAddress, 256)
if (RegExMatch(chatInput, "^/r\s(.*)", out))
{
temp := Trim(out1)
if (temp == "")
addChatMessageEx(0xFF8CA6, "Используйте ""/r текст""")
else
{
if (!RegExMatch(temp, "\(\(\s.*\s\)\)"))
SendChat("/me сказал в рацию """ out1 """")
}
}
else if RegExMatch(chatInput, "^/settag\s(.*)", out)
{
IniWrite, %out1%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag
addChatMessageEx(0xFF8CA6, "Установлен новый тэг: " out1)
}
}
return
Криво используешь.Почему не выводятся корды через
- getPlayerPos(X,Y,Z) - Возвращает координаты локального игрока в указанные перменные
хз хз, вывод текущих корд в тхт файл можешь написать?AutoHotKey:$~NumpadEnter:: $~Enter:: if (isInChat() && !isDialogOpen()) { Sleep 250 dwAddress := dwSAMP + 0x12D8F8 chatInput := readString(hGTA, dwAddress, 256) if (RegExMatch(chatInput, "^/r\s(.*)", out)) { temp := Trim(out1) if (temp == "") addChatMessageEx(0xFF8CA6, "Используйте ""/r текст""") else { if (!RegExMatch(temp, "\(\(\s.*\s\)\)")) SendChat("/me сказал в рацию """ out1 """") } } else if RegExMatch(chatInput, "^/settag\s(.*)", out) { IniWrite, %out1%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag addChatMessageEx(0xFF8CA6, "Установлен новый тэг: " out1) } } return
Криво используешь.
Через массив:хз хз, вывод текущих корд в тхт файл можешь написать?
str := "", coordinates := getCoordinates(), XYZ := ["X", "Y", "Z"]
for k, v in coordinates
str .= XYZ[k] ": " v "`n"
FileAppend, %str%, Coordinates.txt
getPlayerPos(X, Y, Z)
str := "X: " X "`nY: " Y "`nZ: " Z
FileAppend, %str%, Coordinates.txt
спасибо огромноеЧерез массив:
Попроще:AutoHotKey:str := "", coordinates := getCoordinates(), XYZ := ["X", "Y", "Z"] for k, v in coordinates str .= XYZ[k] ": " v "`n" FileAppend, %str%, Coordinates.txt
AutoHotKey:getPlayerPos(X, Y, Z) str := "X: " X "`nY: " Y "`nZ: " Z FileAppend, %str%, Coordinates.txt
Получаешь координаты.Как сделать, чтобы автоматом считывало место, где ты находишся и мол когда я отправлял отчёт оно само вставляло КПП-1 или КПП-2
$~NumpadEnter::
$~Enter::
if (isInChat() && !isDialogOpen())
{
Sleep 250
dwAddress := dwSAMP + 0x12D8F8
chatInput := readString(hGTA, dwAddress, 256)
if (RegExMatch(chatInput, "^/r\s(.*)", out))
{
temp := Trim(out1)
if (temp == "")
addChatMessageEx(0xFF8CA6, "Используйте ""/r текст""")
else
{
if (!RegExMatch(temp, "\(\(\s.*\s\)\)"))
Sleep, 100
SendChat("/me сняв с пояса рацию передал сообщение")
}
}
else if RegExMatch(chatInput, "^/settag\s(.*)", out)
{
IniWrite, %out1%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag
addChatMessageEx(0xFF8CA6, "Установлен новый тэг: " out1)
}
}
return
Numpad2::
IniRead, NickEng2, Setting.ini, INFO, Info2
IniRead, zvanie2, Setting.ini, INFO, Info3
IniRead, Tag2, Setting.ini, INFO, Info5
IniRead, TagD2, Setting.ini, INFO, Info7
IniRead, Razdel2, Setting.ini, INFO, Info9
IniRead, NickRus2, Setting.ini, INFO, Info11
IniRead, Lekcia2, Lekcia.ini, TEXT, Text-1
a:=1
menu:=1
ShowDialog("2", "{800000}[AHK] {BDBDBD}Организация - {A0522D}МО:", "{FFFFFF}1. {FAEBD7}Показать уодостовирение`n{FFFFFF}2. {FAEBD7}Доклад об выезде на поставки {D2B48C}[Фура полная].`n{FFFFFF}3. {FAEBD7}Доклад об выезде на базу {D2B48C}[Фура пустая].`n{FFFFFF}4. {FF0000}Объявите об ЧС на базе!`n{FFFFFF}5. {FAEBD7}Сообщить об построении на Базе.`n{FFFFFF}6. {FAEBD7}Прочитать Лекцию №1.`n{FFFFFF}7. {FAEBD7}Прочитать Лекцию №2.`n{FFFFFF}8. {FAEBD7}Доклад об вылете на поставки {D2B48C}[Вертолёт полный]`n{FFFFFF}9.{FAEBD7} Доклад об вылете на базу {D2B48C}[Вертолёт пустой]`n{FFFFFF}10. {FAEBD7}Доклад с поста {D2B48C}[КПП-1]`n{FFFFFF}11. {FAEBD7}Доклад с поста {D2B48C}[КПП-2]`n{FFFFFF}12. Уволить Бойца{FAEBD7}`n{FFFFFF}13. Принять новобранца{FAEBD7}","Отмена")
return
~UP::
if a>1
{
a:=a-1
}
return
~Down::
if a<b
{
a:=a+1
}
return
$~Enter::
if (menu==1)
{
punk:="label"+a
Gosub, %punk%
menu:=0
}
return
label1:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/do В правом кармане брюк у " NickEng2 " лежит удостоверение.")
Sleep 2500
SendChat("/me опустил правую руку в карман и нащупал удостоверение")
Sleep 2500
SendChat("/me лёгким движением руки вытащил руку из кармана")
Sleep 2500
SendChat("/do " NickEng2 " держит удостовирение в правой руке.")
Sleep 2500
SendChat("/me раскрыл удостоверение и показал его человеку напротив")
Sleep 2500
SendChat("/todo Вот...Смотрите.*показывая удостоверение")
Sleep 2500
SendChat("/do В удостовирении - Имя: " NickEng2 " - Дожность: " zvanie2 " - Подразделение: " Razdel2 ".")
Sleep 15000
SendChat("/me лёгким движением руки закрыл удостоверение и спрятал его в карман")
Sleep 2500
SendChat("/do Удостовирение лежит в правом кармане брюк у " NickEng2 ".")
Sleep 2500
return
label2:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Загурзился. Выезжаю на поставки!")
return
label3:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Разгурзился, выезжаю на базу!")
return
label4:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Черезвычайная ситуация! Нападение ОПГ!")
return
label5:
addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {BDBDBD}По - Для продолжения нажмите {ffffff}F2")
KeyWait, vk71, D
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 3 минуты! Кого не будет - Выговор.")
Sleep 60000
SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 2 минуты! Кого не будет - Выговор.")
Sleep 60000
SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 1 минута! Кого не будет - Выговор.")
Sleep 60000
SendChat("/b " Tag2 ": Время ожидания завершено. Начинаю проверять по спискам.")
return
label6:
addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {DDA0DD}Лекция №1 - Для продолжения нажмите {ffffff}F2")
KeyWait, vk71, D
SendMessage, 0x50,, 0x4190419,, A
Sleep, 100
SendChat("/r " Tag2 ": Бойцы, минуту внимания!")
Sleep, 1000
SendChat("/r " Tag2 ": Я " zvanie2 " " NickRus2 " хочу прочитать лекцию...")
Sleep, 1000
SendChat("/r " Tag2 ": На тему - 'Суббординация'.")
Sleep, 1000
SendChat("/r " Tag2 ": В Армии нету таких слов как: 'Привет', 'Как дела?', 'Поговорить можно?' и т.д")
Sleep, 1000
SendChat("/r " Tag2 ": Обращаться строго на 'Вы' и только на 'Вы'.")
Sleep, 1000
SendChat("/r " Tag2 ": Например: Здравия желаю " zvanie2 " " NickRus2 ".")
Sleep, 1000
SendChat("/r " Tag2 ": Покинуть Территорию военной базы можно только по Разрешению.")
Sleep, 1000
SendChat("/r " Tag2 ": Незнание правил, не освобождает от ответсвенности!")
Sleep, 1000
SendChat("/r " Tag2 ": Всем спасибо за внимание. Желаю продуктивной работы!")
Sleep, 100
SendChat("/time")
Sleep, 100
SendInput {F8}
return
label7:
addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {DDA0DD}Лекция №2{BDBDBD} - Для продолжения нажмите {ffffff}F2")
KeyWait, vk71, D
SendMessage, 0x50,, 0x4190419,, A
Sleep, 100
SendChat("/r " Tag2 ": Бойцы, минуту внимания!")
Sleep, 1000
SendChat("/r " Tag2 ": Я " zvanie2 " " NickRus2 " хочу прочитать лекцию... ")
Sleep, 1000
SendChat("/r " Tag2 ": На тему - 'Тир'.")
Sleep, 1000
SendChat("/r " Tag2 ": В связи с низкими показателями огневой подготовки... ")
Sleep, 1000
SendChat("/r " Tag2 ": Было принято решение Ввести 'Тир'.")
Sleep, 1000
SendChat("/r " Tag2 ": Перед тем как уйти в тир...")
Sleep, 1000
SendChat("/r " Tag2 ": Вам нужно спросить Разрешения Офицеров.")
Sleep, 1000
SendChat("/r " Tag2 ": Посещения Тира не по графику - увольнение.")
Sleep, 1000
SendChat("/r " Tag2 ": Незнание правил, не освобождает от ответсвенности!")
Sleep, 1000
SendChat("/r " Tag2 ": Всем спасибо за внимание. Желаю продуктивной работы!")
Sleep, 1000
SendChat("/time")
Sleep, 1000
SendInput {F8}
return
label8:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Вертолёт - пуст. Вылетаю на загрузку.")
return
label9:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Загрузился, вылетаю на поставки!")
return
label10:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Пост: КПП-1. Состояние: Стабильное.")
return
label11:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Пост: КПП-2. Состояние: Стабильное.")
return
label12:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendChat("Привет, моё имя " NickRus2)
return
label16:
SendMessage, 0x50,, 0x4190419,, A
Sleep 100
SendInput {F6} Привет {enter}
return
return
return
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Include Include\SAMP Udf.ahk ; Инклуд
#Include Include\Command Processor.ahk ; Инклуд
CMD.Register("admins","adminlist")
exit
adminlist() {
IniRead, aName1, admins.ini, admins, Admin1
If (getPlayerIdByName(aName1) = -1) {
IniWrite, 0, admins.ini, online, Admin1
}
If (getPlayerIdByName(aName1) > -1) {
IniWrite, 1, admins.ini, online, Admin1
}
IniRead, aName2, admins.ini, admins, Admin2
If (getPlayerIdByName(aName2) = -1) {
IniWrite, 0, admins.ini, online, Admin2
}
If (getPlayerIdByName(aName2) > -1) {
IniWrite, 1, admins.ini, online, Admin2
}
IniRead, aName3, admins.ini, admins, Admin3
If (getPlayerIdByName(aName3) = -1) {
IniWrite, 0, admins.ini, online, Admin3
}
If (getPlayerIdByName(aName3) > -1) {
IniWrite, 1, admins.ini, online, Admin3
}
IniRead, aName4, admins.ini, admins, Admin4
If (getPlayerIdByName(aName4) = -1) {
IniWrite, 0, admins.ini, online, Admin4
}
If (getPlayerIdByName(aName4) > -1) {
IniWrite, 1, admins.ini, online, Admin4
}
IniRead, aName5, admins.ini, admins, Admin5
If (getPlayerIdByName(aName5) = -1) {
IniWrite, 0, admins.ini, online, Admin5
}
If (getPlayerIdByName(aName5) > -1) {
IniWrite, 1, admins.ini, online, Admin5
}
IniRead, aName6, admins.ini, admins, Admin6
If (getPlayerIdByName(aName6) = -1) {
IniWrite, 0, admins.ini, online, Admin6
}
If (getPlayerIdByName(aName6) > -1) {
IniWrite, 1, admins.ini, online, Admin6
}
IniRead, aName7, admins.ini, admins, Admin7
If (getPlayerIdByName(aName7) = -1) {
IniWrite, 0, admins.ini, online, Admin7
}
If (getPlayerIdByName(aName7) > -1) {
IniWrite, 1, admins.ini, online, Admin7
}
IniRead, aName8, admins.ini, admins, Admin8
If (getPlayerIdByName(aName8) = -1) {
IniWrite, 0, admins.ini, online, Admin8
}
If (getPlayerIdByName(aName8) > -1) {
IniWrite, 1, admins.ini, online, Admin8
}
IniRead, aName9, admins.ini, admins, Admin9
If (getPlayerIdByName(aName9) = -1) {
IniWrite, 0, admins.ini, online, Admin9
}
If (getPlayerIdByName(aName9) > -1) {
IniWrite, 1, admins.ini, online, Admin9
}
IniRead, aName10, admins.ini, admins, Admin10
If (getPlayerIdByName(aName10) = -1) {
IniWrite, 0, admins.ini, online, Admin10
}
If (getPlayerIdByName(aName10) > -1) {
IniWrite, 1, admins.ini, online, Admin10
}
IniRead, aName11, admins.ini, admins, Admin11
If (getPlayerIdByName(aName11) = -1) {
IniWrite, 0, admins.ini, online, Admin11
}
If (getPlayerIdByName(aName11) > -1) {
IniWrite, 1, admins.ini, online, Admin11
}
IniRead, aName12, admins.ini, admins, Admin12
If (getPlayerIdByName(aName12) = -1) {
IniWrite, 0, admins.ini, online, Admin12
}
If (getPlayerIdByName(aName12) > -1) {
IniWrite, 1, admins.ini, online, Admin12
}
IniRead, aName13, admins.ini, admins, Admin13
If (getPlayerIdByName(aName13) = -1) {
IniWrite, 0, admins.ini, online, Admin13
}
If (getPlayerIdByName(aName13) > -1) {
IniWrite, 1, admins.ini, online, Admin13
}
IniRead, aName14, admins.ini, admins, Admin14
If (getPlayerIdByName(aName14) = -1) {
IniWrite, 0, admins.ini, online, Admin14
}
If (getPlayerIdByName(aName14) > -1) {
IniWrite, 1, admins.ini, online, Admin14
}
IniRead, aName15, admins.ini, admins, Admin15
If (getPlayerIdByName(aName15) = -1) {
IniWrite, 0, admins.ini, online, Admin15
}
If (getPlayerIdByName(aName15) > -1) {
IniWrite, 1, admins.ini, online, Admin15
}
IniRead, aName16, admins.ini, admins, Admin16
If (getPlayerIdByName(aName16) = -1) {
IniWrite, 0, admins.ini, online, Admin16
}
If (getPlayerIdByName(aName16) > -1) {
IniWrite, 1, admins.ini, online, Admin16
}
IniRead, aName17, admins.ini, admins, Admin7
If (getPlayerIdByName(aName17) = -1) {
IniWrite, 0, admins.ini, online, Admin17
}
If (getPlayerIdByName(aName17) > -1) {
IniWrite, 1, admins.ini, online, Admin17
}
IniRead, aName18, admins.ini, admins, Admin18
If (getPlayerIdByName(aName18) = -1) {
IniWrite, 0, admins.ini, online, Admin18
}
If (getPlayerIdByName(aName18) > -1) {
IniWrite, 1, admins.ini, online, Admin18
}
IniRead, aName19, admins.ini, admins, Admin19
If (getPlayerIdByName(aName19) = -1) {
IniWrite, 0, admins.ini, online, Admin19
}
If (getPlayerIdByName(aName19) > -1) {
IniWrite, 1, admins.ini, online, Admin19
}
IniRead, aName20, admins.ini, admins, Admin20
If (getPlayerIdByName(aName20) = -1) {
IniWrite, 0, admins.ini, online, Admin20
}
If (getPlayerIdByName(aName20) > -1) {
IniWrite, 1, admins.ini, online, Admin20
}
IniRead, aName21, admins.ini, admins, Admin21
If (getPlayerIdByName(aName21) = -1) {
IniWrite, 0, admins.ini, online, Admin21
}
If (getPlayerIdByName(aName21) > -1) {
IniWrite, 1, admins.ini, online, Admin21
}
IniRead, aName22, admins.ini, admins, Admin22
If (getPlayerIdByName(aName22) = -1) {
IniWrite, 0, admins.ini, online, Admin22
}
If (getPlayerIdByName(aName22) > -1) {
IniWrite, 1, admins.ini, online, Admin22
}
IniRead, aName23, admins.ini, admins, Admin23
If (getPlayerIdByName(aName23) = -1) {
IniWrite, 0, admins.ini, online, Admin23
}
If (getPlayerIdByName(aName23) > -1) {
IniWrite, 1, admins.ini, online, Admin23
}
IniRead, aName24, admins.ini, admins, Admin24
If (getPlayerIdByName(aName24) = -1) {
IniWrite, 0, admins.ini, online, Admin24
}
If (getPlayerIdByName(aName24) > -1) {
IniWrite, 1, admins.ini, online, Admin24
}
IniRead, aName25, admins.ini, admins, Admin25
If (getPlayerIdByName(aName25) = -1) {
IniWrite, 0, admins.ini, online, Admin25
}
If (getPlayerIdByName(aName25) > -1) {
IniWrite, 1, admins.ini, online, Admin25
}
IniRead, aName26, admins.ini, admins, Admin26
If (getPlayerIdByName(aName26) = -1) {
IniWrite, 0, admins.ini, online, Admin26
}
If (getPlayerIdByName(aName26) > -1) {
IniWrite, 1, admins.ini, online, Admin26
}
IniRead, aName27, admins.ini, admins, Admin27
If (getPlayerIdByName(aName27) = -1) {
IniWrite, 0, admins.ini, online, Admin27
}
If (getPlayerIdByName(aName27) > -1) {
IniWrite, 1, admins.ini, online, Admin27
}
IniRead, aName28, admins.ini, admins, Admin28
If (getPlayerIdByName(aName28) = -1) {
IniWrite, 0, admins.ini, online, Admin28
}
If (getPlayerIdByName(aName28) > -1) {
IniWrite, 1, admins.ini, online, Admin28
}
IniRead, aName29, admins.ini, admins, Admin29
If (getPlayerIdByName(aName29) = -1) {
IniWrite, 0, admins.ini, online, Admin29
}
If (getPlayerIdByName(aName29) > -1) {
IniWrite, 1, admins.ini, online, Admin29
}
IniRead, aName30, admins.ini, admins, Admin30
If (getPlayerIdByName(aName30) = -1) {
IniWrite, 0, admins.ini, online, Admin30
}
If (getPlayerIdByName(aName30) > -1) {
IniWrite, 1, admins.ini, online, Admin30
}
IniRead, aName31, admins.ini, admins, Admin31
If (getPlayerIdByName(aName31) = -1) {
IniWrite, 0, admins.ini, online, Admin31
}
If (getPlayerIdByName(aName31) > -1) {
IniWrite, 1, admins.ini, online, Admin31
}
IniRead, aName32, admins.ini, admins, Admin32
If (getPlayerIdByName(aName32) = -1) {
IniWrite, 0, admins.ini, online, Admin32
}
If (getPlayerIdByName(aName32) > -1) {
IniWrite, 1, admins.ini, online, Admin32
}
IniRead, aName33, admins.ini, admins, Admin33
If (getPlayerIdByName(aName33) = -1) {
IniWrite, 0, admins.ini, online, Admin33
}
If (getPlayerIdByName(aName33) > -1) {
IniWrite, 1, admins.ini, online, Admin33
}
IniRead, aName34, admins.ini, admins, Admin34
If (getPlayerIdByName(aName34) = -1) {
IniWrite, 0, admins.ini, online, Admin34
}
If (getPlayerIdByName(aName34) > -1) {
IniWrite, 1, admins.ini, online, Admin34
}
IniRead, A1, admins.ini, online, Admin1
IniRead, A2, admins.ini, online, Admin2
IniRead, A3, admins.ini, online, Admin3
IniRead, A4, admins.ini, online, Admin4
IniRead, A5, admins.ini, online, Admin5
IniRead, A6, admins.ini, online, Admin6
IniRead, A7, admins.ini, online, Admin7
IniRead, A8, admins.ini, online, Admin8
IniRead, A9, admins.ini, online, Admin9
IniRead, A10, admins.ini, online, Admin10
IniRead, A11, admins.ini, online, Admin11
IniRead, A12, admins.ini, online, Admin12
IniRead, A13, admins.ini, online, Admin13
IniRead, A14, admins.ini, online, Admin14
IniRead, A15, admins.ini, online, Admin15
IniRead, A16, admins.ini, online, Admin16
IniRead, A17, admins.ini, online, Admin17
IniRead, A18, admins.ini, online, Admin18
IniRead, A19, admins.ini, online, Admin19
IniRead, A20, admins.ini, online, Admin20
IniRead, A21, admins.ini, online, Admin21
IniRead, A22, admins.ini, online, Admin22
IniRead, A23, admins.ini, online, Admin23
IniRead, A24, admins.ini, online, Admin24
IniRead, A25, admins.ini, online, Admin25
IniRead, A26, admins.ini, online, Admin26
IniRead, A27, admins.ini, online, Admin27
IniRead, A28, admins.ini, online, Admin28
IniRead, A29, admins.ini, online, Admin29
IniRead, A30, admins.ini, online, Admin30
IniRead, A31, admins.ini, online, Admin31
IniRead, A32, admins.ini, online, Admin32
IniRead, A33, admins.ini, online, Admin33
IniRead, A34, admins.ini, online, Admin34
AOnline := A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + A10 + A11 + A12 + A13 + A14 + A15 + A16 + A17 + A18 + A19 + A20 + A21 + A22 + A23 + A24 + A25 + A26 + A27 + A28 + A29 + A30 + A31 + A32 + A33 + A34
If (A1 = 1) {
AdminState1 = {8bc34a}В сети
}
If (A1 = 0) {
AdminState1 = {ff084a}Оффлайн
}
If (A2 = 1) {
AdminState2 = {8bc34a}В сети
}
If (A2 = 0) {
AdminState2 = {ff084a}Оффлайн
}
If (A3 = 1) {
AdminState3 = {8bc34a}В сети
}
If (A3 = 0) {
AdminState3 = {ff084a}Оффлайн
}
If (A4 = 1) {
AdminState4 = {8bc34a}В сети
}
If (A4 = 0) {
AdminState4 = {ff084a}Оффлайн
}
If (A5 = 1) {
AdminState5 = {8bc34a}В сети
}
If (A5 = 0) {
AdminState5 = {ff084a}Оффлайн
}
If (A6 = 1) {
AdminState6 = {8bc34a}В сети
}
If (A6 = 0) {
AdminState6 = {ff084a}Оффлайн
}
If (A7 = 1) {
AdminState7 = {8bc34a}В сети
}
If (A7 = 0) {
AdminState7 = {ff084a}Оффлайн
}
If (A8 = 1) {
AdminState8 = {8bc34a}В сети
}
If (A8 = 0) {
AdminState8 = {ff084a}Оффлайн
}
If (A9 = 1) {
AdminState9 = {8bc34a}В сети
}
If (A9 = 0) {
AdminState9 = {ff084a}Оффлайн
}
If (A10 = 1) {
AdminState10 = {8bc34a}В сети
}
If (A10 = 0) {
AdminState10 = {ff084a}Оффлайн
}
If (A11 = 1) {
AdminState11 = {8bc34a}В сети
}
If (A11 = 0) {
AdminState11 = {ff084a}Оффлайн
}
If (A12 = 1) {
AdminState12 = {8bc34a}В сети
}
If (A12 = 0) {
AdminState12 = {ff084a}Оффлайн
}
If (A13 = 1) {
AdminState13 = {8bc34a}В сети
}
If (A13 = 0) {
AdminState13 = {ff084a}Оффлайн
}
If (A14 = 1) {
AdminState14 = {8bc34a}В сети
}
If (A14 = 0) {
AdminState14 = {ff084a}Оффлайн
}
If (A15 = 1) {
AdminState15 = {8bc34a}В сети
}
If (A15 = 0) {
AdminState15 = {ff084a}Оффлайн
}
If (A16 = 1) {
AdminState16 = {8bc34a}В сети
}
If (A16 = 0) {
AdminState16 = {ff084a}Оффлайн
}
If (A17 = 1) {
AdminState17 = {8bc34a}В сети
}
If (A17 = 0) {
AdminState17 = {ff084a}Оффлайн
}
If (A18 = 1) {
AdminState18 = {8bc34a}В сети
}
If (A18 = 0) {
AdminState18 = {ff084a}Оффлайн
}
If (A19 = 1) {
AdminState19 = {8bc34a}В сети
}
If (A19 = 0) {
AdminState19 = {ff084a}Оффлайн
}
If (A20 = 1) {
AdminState20 = {8bc34a}В сети
}
If (A20 = 0) {
AdminState20 = {ff084a}Оффлайн
}
If (A21 = 1) {
AdminState21 = {8bc34a}В сети
}
If (A21 = 0) {
AdminState21 = {ff084a}Оффлайн
}
If (A22 = 1) {
AdminState22 = {8bc34a}В сети
}
If (A22 = 0) {
AdminState22 = {ff084a}Оффлайн
}
If (A23 = 1) {
AdminState23 = {8bc34a}В сети
}
If (A23 = 0) {
AdminState23 = {ff084a}Оффлайн
}
If (A24 = 1) {
AdminState24 = {8bc34a}В сети
}
If (A24 = 0) {
AdminState24 = {ff084a}Оффлайн
}
If (A25 = 1) {
AdminState25 = {8bc34a}В сети
}
If (A25 = 0) {
AdminState25 = {ff084a}Оффлайн
}
If (A26 = 1) {
AdminState26 = {8bc34a}В сети
}
If (A26 = 0) {
AdminState26 = {ff084a}Оффлайн
}
If (A27 = 1) {
AdminState27 = {8bc34a}В сети
}
If (A27 = 0) {
AdminState27 = {ff084a}Оффлайн
}
If (A28 = 1) {
AdminState28 = {8bc34a}В сети
}
If (A28 = 0) {
AdminState28 = {ff084a}Оффлайн
}
If (A29 = 1) {
AdminState29 = {8bc34a}В сети
}
If (A29 = 0) {
AdminState29 = {ff084a}Оффлайн
}
If (A30 = 1) {
AdminState30 = {8bc34a}В сети
}
If (A30 = 0) {
AdminState30 = {ff084a}Оффлайн
}
If (A31 = 1) {
AdminState31 = {8bc34a}В сети
}
If (A31 = 0) {
AdminState31 = {ff084a}Оффлайн
}
If (A32 = 1) {
AdminState32 = {8bc34a}В сети
}
If (A32 = 0) {
AdminState32 = {ff084a}Оффлайн
}
If (A33 = 1) {
AdminState33 = {8bc34a}В сети
}
If (A33 = 0) {
AdminState33 = {ff084a}Оффлайн
}
If (A34 = 1) {
AdminState34 = {8bc34a}В сети
}
If (A34 = 0) {
AdminState34 = {ff084a}Оффлайн
}
;/////////////////////////////////////////
if (isPlayerInStreamById(getPlayerIdByName(aName1), radius := 150) = 1) {
aNameN1 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName2), radius := 150) = 1) {
aNameN2 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName3), radius := 150) = 1) {
aNameN3 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName4), radius := 150) = 1) {
aNameN4 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName5), radius := 150) = 1) {
aNameN5 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName6), radius := 150) = 1) {
aNameN6 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName7), radius := 150) = 1) {
aNameN7 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName8), radius := 150) = 1) {
aNameN8 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName9), radius := 150) = 1) {
aNameN9 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName10), radius := 150) = 1) {
aNameN10 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName11), radius := 150) = 1) {
aNameN11 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName12), radius := 150) = 1) {
aNameN12 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName13), radius := 150) = 1) {
aNameN13 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName14), radius := 150) = 1) {
aNameN14 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName15), radius := 150) = 1) {
aNameN15 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName16), radius := 150) = 1) {
aNameN16 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName17), radius := 150) = 1) {
aNameN17 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName18), radius := 150) = 1) {
aNameN18 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName19), radius := 150) = 1) {
aNameN19 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName20), radius := 150) = 1) {
aNameN20 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName21), radius := 150) = 1) {
aNameN21 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName22), radius := 150) = 1) {
aNameN22 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName23), radius := 150) = 1) {
aName23 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName24), radius := 150) = 1) {
aNameN24 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName25), radius := 150) = 1) {
aNameN25 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName26), radius := 150) = 1) {
aNameN26 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName27), radius := 150) = 1) {
aNameN27 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName28), radius := 150) = 1) {
aNameN28 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName29), radius := 150) = 1) {
aNameN29 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName30), radius := 150) = 1) {
aNameN30 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName31), radius := 150) = 1) {
aNameN31 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName32), radius := 150) = 1) {
aNameN32 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName33), radius := 150) = 1) {
aNameN33 = {ffffff}- {ff7f50}Рядом
}
if (isPlayerInStreamById(getPlayerIdByName(aName34), radius := 150) = 1) {
aNameN34 = {ffffff}- {ff7f50}Рядом
}
; //////////////////////////////////////////////////////////////////////////
if (isPlayerInStreamById(getPlayerIdByName(aName1), radius := 150) = 0) {
aNameN1 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName2), radius := 150) = 0) {
aNameN2 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName3), radius := 150) = 0) {
aNameN3 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName4), radius := 150) = 0) {
aNameN4 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName5), radius := 150) = 0) {
aNameN5 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName6), radius := 150) = 0) {
aNameN6 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName7), radius := 150) = 0) {
aNameN7 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName8), radius := 150) = 0) {
aNameN8 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName9), radius := 150) = 0) {
aNameN9 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName10), radius := 150) = 0) {
aNameN10 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName11), radius := 150) = 0) {
aNameN11 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName12), radius := 150) = 0) {
aNameN12 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName13), radius := 150) = 0) {
aNameN13 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName14), radius := 150) = 0) {
aNameN14 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName15), radius := 150) = 0) {
aNameN15 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName16), radius := 150) = 0) {
aNameN16 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName17), radius := 150) = 0) {
aNameN17 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName18), radius := 150) = 0) {
aNameN18 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName19), radius := 150) = 0) {
aNameN19 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName20), radius := 150) = 0) {
aNameN20 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName21), radius := 150) = 0) {
aNameN21 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName22), radius := 150) = 0) {
aNameN22 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName23), radius := 150) = 0) {
aNameN23 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName24), radius := 150) = 0) {
aNameN24 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName25), radius := 150) = 0) {
aNameN25 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName26), radius := 150) = 0) {
aNameN26 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName27), radius := 150) = 0) {
aNameN27 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName28), radius := 150) = 0) {
aNameN28 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName29), radius := 150) = 0) {
aNameN29 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName30), radius := 150) = 0) {
aNameN30 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName31), radius := 150) = 0) {
aNameN31 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName32), radius := 150) = 0) {
aNameN32 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName33), radius := 150) = 0) {
aNameN33 = {ffffff}
}
if (isPlayerInStreamById(getPlayerIdByName(aName34), radius := 150) = 0) {
aNameN34 = {ffffff}
}
;///////////////////////////////////////////////////////////////////////////
If (AOnline < 1) {
AOnlineColor = {ff084a}
}
If (AOnline > 1) {
AOnlineColor = {8bc34a}
}
;///////////////////////////////////////////////////////////////////////////
if ((getPlayerIdByName(aName1)) = -1)
adminId1 =
if ((getPlayerIdByName(aName1)) > -1)
adminId1 := "[{ff7f50}" (getPlayerIdByName(aName2)) "{ffffff}]"
if ((getPlayerIdByName(aName2)) = -1)
adminId2 =
if ((getPlayerIdByName(aName2)) > -1)
adminId2 := "[{ff7f50}" (getPlayerIdByName(aName2)) "{ffffff}]"
if ((getPlayerIdByName(aName3)) = -1)
adminId3 =
if ((getPlayerIdByName(aName3)) > -1)
adminId3 := "[{ff7f50}" (getPlayerIdByName(aName3)) "{ffffff}]"
if ((getPlayerIdByName(aName4)) = -1)
adminId4 =
if ((getPlayerIdByName(aName4)) > -1)
adminId4 := "[{ff7f50}" (getPlayerIdByName(aName4)) "{ffffff}]"
if ((getPlayerIdByName(aName5)) = -1)
adminId5 =
if ((getPlayerIdByName(aName5)) > -1)
adminId5 := "[{ff7f50}" (getPlayerIdByName(aName5)) "{ffffff}]"
if ((getPlayerIdByName(aName6)) = -1)
adminId6 =
if ((getPlayerIdByName(aName6)) > -1)
adminId6 := "[{ff7f50}" (getPlayerIdByName(aName6)) "{ffffff}]"
if ((getPlayerIdByName(aName7)) = -1)
adminId7 =
if ((getPlayerIdByName(aName7)) > -1)
adminId7 := "[{ff7f50}" (getPlayerIdByName(aName7)) "{ffffff}]"
if ((getPlayerIdByName(aName8)) = -1)
adminId8 =
if ((getPlayerIdByName(aName8)) > -1)
adminId8 := "[{ff7f50}" (getPlayerIdByName(aName8)) "{ffffff}]"
if ((getPlayerIdByName(aName9)) = -1)
adminId9 =
if ((getPlayerIdByName(aName9)) > -1)
adminId9 := "[{ff7f50}" (getPlayerIdByName(aName9)) "{ffffff}]"
if ((getPlayerIdByName(aName10)) = -1)
adminId10 =
if ((getPlayerIdByName(aName10)) > -1)
adminId10 := "[{ff7f50}" (getPlayerIdByName(aName10)) "{ffffff}]"
if ((getPlayerIdByName(aName11)) = -1)
adminId11 =
if ((getPlayerIdByName(aName11)) > -1)
adminId11 := "[{ff7f50}" (getPlayerIdByName(aName11)) "{ffffff}]"
if ((getPlayerIdByName(aName12)) = -1)
adminId12 =
if ((getPlayerIdByName(aName12)) > -1)
adminId12 := "[{ff7f50}" (getPlayerIdByName(aName12)) "{ffffff}]"
if ((getPlayerIdByName(aName13)) = -1)
adminId13 =
if ((getPlayerIdByName(aName13)) > -1)
adminId13 := "[{ff7f50}" (getPlayerIdByName(aName13)) "{ffffff}]"
if ((getPlayerIdByName(aName14)) = -1)
adminId14 =
if ((getPlayerIdByName(aName14)) > -1)
adminId14 := "[{ff7f50}" (getPlayerIdByName(aName14)) "{ffffff}]"
if ((getPlayerIdByName(aName15)) = -1)
adminId15 =
if ((getPlayerIdByName(aName15)) > -1)
adminId15 := "[{ff7f50}" (getPlayerIdByName(aName15)) "{ffffff}]"
if ((getPlayerIdByName(aName16)) = -1)
adminId16 =
if ((getPlayerIdByName(aName16)) > -1)
adminId16 := "[{ff7f50}" (getPlayerIdByName(aName16)) "{ffffff}]"
if ((getPlayerIdByName(aName17)) = -1)
adminId17 =
if ((getPlayerIdByName(aName17)) > -1)
adminId17 := "[{ff7f50}" (getPlayerIdByName(aName17)) "{ffffff}]"
if ((getPlayerIdByName(aName18)) = -1)
adminId18 =
if ((getPlayerIdByName(aName18)) > -1)
adminId18 := "[{ff7f50}" (getPlayerIdByName(aName18)) "{ffffff}]"
if ((getPlayerIdByName(aName19)) = -1)
adminId19 =
if ((getPlayerIdByName(aName19)) > -1)
adminId19 := "[{ff7f50}" (getPlayerIdByName(aName19)) "{ffffff}]"
if ((getPlayerIdByName(aName20)) = -1)
adminId20 =
if ((getPlayerIdByName(aName20)) > -1)
adminId20 := "[{ff7f50}" (getPlayerIdByName(aName20)) "{ffffff}]"
if ((getPlayerIdByName(aName21)) = -1)
adminId21 =
if ((getPlayerIdByName(aName21)) > -1)
adminId21 := "[{ff7f50}" (getPlayerIdByName(aName21)) "{ffffff}]"
if ((getPlayerIdByName(aName22)) = -1)
adminId22 =
if ((getPlayerIdByName(aName22)) > -1)
adminId22 := "[{ff7f50}" (getPlayerIdByName(aName22)) "{ffffff}]"
if ((getPlayerIdByName(aName23)) = -1)
adminId23 =
if ((getPlayerIdByName(aName23)) > -1)
adminId23 := "[{ff7f50}" (getPlayerIdByName(aName23)) "{ffffff}]"
if ((getPlayerIdByName(aName24)) = -1)
adminId24 =
if ((getPlayerIdByName(aName24)) > -1)
adminId24 := "[{ff7f50}" (getPlayerIdByName(aName24)) "{ffffff}]"
if ((getPlayerIdByName(aName25)) = -1)
adminId25 =
if ((getPlayerIdByName(aName25)) > -1)
adminId25 := "[{ff7f50}" (getPlayerIdByName(aName25)) "{ffffff}]"
if ((getPlayerIdByName(aName26)) = -1)
adminId26 =
if ((getPlayerIdByName(aName26)) > -1)
adminId26 := "[{ff7f50}" (getPlayerIdByName(aName26)) "{ffffff}]"
if ((getPlayerIdByName(aName27)) = -1)
adminId27 =
if ((getPlayerIdByName(aName27)) > -1)
adminId27 := "[{ff7f50}" (getPlayerIdByName(aName27)) "{ffffff}]"
if ((getPlayerIdByName(aName28)) = -1)
adminId28 =
if ((getPlayerIdByName(aName28)) > -1)
adminId28 := "[{ff7f50}" (getPlayerIdByName(aName28)) "{ffffff}]"
if ((getPlayerIdByName(aName29)) = -1)
adminId29 =
if ((getPlayerIdByName(aName29)) > -1)
adminId29 := "[{ff7f50}" (getPlayerIdByName(aName29)) "{ffffff}]"
if ((getPlayerIdByName(aName30)) = -1)
adminId30 =
if ((getPlayerIdByName(aName30)) > -1)
adminId30 := "[{ff7f50}" (getPlayerIdByName(aName30)) "{ffffff}]"
if ((getPlayerIdByName(aName31)) = -1)
adminId31 =
if ((getPlayerIdByName(aName31)) > -1)
adminId31 := "[{ff7f50}" (getPlayerIdByName(aName31)) "{ffffff}]"
if ((getPlayerIdByName(aName32)) = -1)
adminId32 =
if ((getPlayerIdByName(aName32)) > -1)
adminId32 := "[{ff7f50}" (getPlayerIdByName(aName32)) "{ffffff}]"
if ((getPlayerIdByName(aName33)) = -1)
adminId33 =
if ((getPlayerIdByName(aName33)) > -1)
adminId33 := "[{ff7f50}" (getPlayerIdByName(aName33)) "{ffffff}]"
if ((getPlayerIdByName(aName34)) = -1)
adminId34 =
if ((getPlayerIdByName(aName34)) > -1)
adminId34 := "[{ff7f50}" (getPlayerIdByName(aName34)) "{ffffff}]"
;;///////////////////////////////////////////////////////////////////////////
showDialog(4, "{ffffff}Админов в сети: " AOnlineColor AOnline, "{ffffff}" aName1 adminId1 " - " AdminState1 aNameN1 "`n" "{ffffff}" aName2 adminId2 " - " AdminState2 aNameN2 "`n" "{ffffff}" aName3 adminId3 " - " AdminState3 aNameN3 "`n" "{ffffff}" aName4 adminId4 " - " AdminState4 aNameN4 "`n" "{ffffff}" aName5 adminId5 " - " AdminState5 aNameN5 "`n" "{ffffff}" aName6 adminId6 " - " AdminState6 aNameN6 "`n" "{ffffff}" aName7 adminId7 " - " AdminState7 aNameN7 "`n" "{ffffff}" aName8 adminId8 " - " AdminState8 aNameN8 "`n" "{ffffff}" aName9 adminId9 " - " AdminState9 aNameN9 "`n" "{ffffff}" aName10 adminId10 " - " AdminState10 aNameN10 "`n" "{ffffff}" aName11 adminId11 " - " AdminState11 aNameN11 "`n" "{ffffff}" aName12 adminId12 " - " AdminState12 aNameN12 "`n" "{ffffff}" aName13 adminId13 " - " AdminState13 aNameN13 "`n" "{ffffff}" aName14 adminId14 " - " AdminState14 aNameN14 "`n" "{ffffff}" aName15 adminId15 " - " AdminState15 aNameN15 "`n" "{ffffff}" aName16 " - " AdminState16 aNameN16 "`n" "{ffffff}" aName17 adminId17 " - " AdminState17 aNameN17 "`n" "{ffffff}" aName18 adminId18 " - " AdminState18 aNameN18 "`n" "{ffffff}" aName19 adminId19 " - " AdminState19 aNameN19 "`n" "{ffffff}" aName20 adminId20 " - " AdminState20 aNameN20 "`n" "{ffffff}" aName21 adminId21 " - " AdminState21 aNameN21 "`n" "{ffffff}" aName22 adminId22 " - " AdminState22 aNameN22 "`n" "{ffffff}" aName23 adminId23 " - " AdminState23 aNameN23 "`n" "{ffffff}" aName24 adminId24 " - " AdminState24 aNameN24 "`n" "{ffffff}" aName25 adminId25 " - " AdminState25 aNameN25 "`n" "{ffffff}" aName26 adminId26 " - " AdminState26 aNameN26 "`n" "{ffffff}" aName27 adminId27 " - " AdminState27 aNameN27 "`n" "{ffffff}" aName28 adminId28 " - " AdminState28 aNameN28 "`n" "{ffffff}" aName29 adminId29 " - " AdminState29 aNameN29 "`n" "{ffffff}" aName30 adminId30 " - " AdminState30 aNameN30 "`n" "{ffffff}" aName31 adminId31 " - " AdminState31 aNameN31 "`n" "{ffffff}" aName32 adminId32 " - " AdminState32 aNameN32 "`n" "{ffffff}" aName33 adminId33 " - " AdminState33 aNameN33 "`n" "{ffffff}" aName34 adminId34 " - " AdminState34 aNameN34 "`n", "Закрыть", id)
Return
}
[admins]
Admin1 = Smart_Jackson
Admin2 = Andrey_Ringo
Admin3 = Kevi_Rothwell
Admin4 = David_Garner
Admin5 = Louis_Bacardi
Admin6 = Thomas_Martines
Admin7 = Mellissa_Flores
Admin8 = Roberto_Chilli
Admin9 = Lina_Grossi
Admin10 = Andrew_Bacardi
Admin11 = Logan_Cookie
Admin12 = Aleksandr_Novikov
Admin13 = Devil_Castle
Admin14 = Richard_Alpert
Admin15 = Joneso_Waynes
Admin16 = Alice_Dwight
Admin17 = Emily_Allison
Admin18 = Mike_Reiner
Admin19 = Alena_Wayne
Admin20 = Misha_Pankratov
Admin21 = Richard_Chilli
Admin22 = Nicolas_Cardozo
Admin23 = Nelly_Lakers
Admin24 = Kori_West
Admin25 = Dekka_Elcano
Admin26 = Pavel_Omelchuk
Admin27 = James_Grose
Admin28 = Ellio_Cortez
Admin29 = Johny_Sullivan
Admin30 = Mark_Onegin
Admin31 = Andrew_Cookie
Admin32 = Dima_Nait
Admin33 = Mickey_Clifford
Admin34 = Xavier_Blackberry
[online]
Admin1=0
Admin2=0
Admin3=0
Admin4=0
Admin5=0
Admin6=1
Admin7=0
Admin8=0
Admin9=0
Admin10=0
Admin11=0
Admin12=0
Admin13=0
Admin14=1
Admin15=1
Admin16=0
Admin17=0
Admin18=1
Admin19=0
Admin20=0
Admin21=0
Admin22=0
Admin23=0
Admin24=0
Admin25=0
Admin26=0
Admin27=0
Admin28=0
Admin29=0
Admin30=0
Admin31=1
Admin32=1
Admin33=1
Admin34=1
Выдаёт ошибку, что 2 раза повторяется ENTER, как исправить или можно заменить на левую кнопку мышки, где диалог?Код:$~NumpadEnter:: $~Enter:: if (isInChat() && !isDialogOpen()) { Sleep 250 dwAddress := dwSAMP + 0x12D8F8 chatInput := readString(hGTA, dwAddress, 256) if (RegExMatch(chatInput, "^/r\s(.*)", out)) { temp := Trim(out1) if (temp == "") addChatMessageEx(0xFF8CA6, "Используйте ""/r текст""") else { if (!RegExMatch(temp, "\(\(\s.*\s\)\)")) Sleep, 100 SendChat("/me сняв с пояса рацию передал сообщение") } } else if RegExMatch(chatInput, "^/settag\s(.*)", out) { IniWrite, %out1%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag addChatMessageEx(0xFF8CA6, "Установлен новый тэг: " out1) } } return Numpad2:: IniRead, NickEng2, Setting.ini, INFO, Info2 IniRead, zvanie2, Setting.ini, INFO, Info3 IniRead, Tag2, Setting.ini, INFO, Info5 IniRead, TagD2, Setting.ini, INFO, Info7 IniRead, Razdel2, Setting.ini, INFO, Info9 IniRead, NickRus2, Setting.ini, INFO, Info11 IniRead, Lekcia2, Lekcia.ini, TEXT, Text-1 a:=1 menu:=1 ShowDialog("2", "{800000}[AHK] {BDBDBD}Организация - {A0522D}МО:", "{FFFFFF}1. {FAEBD7}Показать уодостовирение`n{FFFFFF}2. {FAEBD7}Доклад об выезде на поставки {D2B48C}[Фура полная].`n{FFFFFF}3. {FAEBD7}Доклад об выезде на базу {D2B48C}[Фура пустая].`n{FFFFFF}4. {FF0000}Объявите об ЧС на базе!`n{FFFFFF}5. {FAEBD7}Сообщить об построении на Базе.`n{FFFFFF}6. {FAEBD7}Прочитать Лекцию №1.`n{FFFFFF}7. {FAEBD7}Прочитать Лекцию №2.`n{FFFFFF}8. {FAEBD7}Доклад об вылете на поставки {D2B48C}[Вертолёт полный]`n{FFFFFF}9.{FAEBD7} Доклад об вылете на базу {D2B48C}[Вертолёт пустой]`n{FFFFFF}10. {FAEBD7}Доклад с поста {D2B48C}[КПП-1]`n{FFFFFF}11. {FAEBD7}Доклад с поста {D2B48C}[КПП-2]`n{FFFFFF}12. Уволить Бойца{FAEBD7}`n{FFFFFF}13. Принять новобранца{FAEBD7}","Отмена") return ~UP:: if a>1 { a:=a-1 } return ~Down:: if a<b { a:=a+1 } return $~Enter:: if (menu==1) { punk:="label"+a Gosub, %punk% menu:=0 } return label1: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/do В правом кармане брюк у " NickEng2 " лежит удостоверение.") Sleep 2500 SendChat("/me опустил правую руку в карман и нащупал удостоверение") Sleep 2500 SendChat("/me лёгким движением руки вытащил руку из кармана") Sleep 2500 SendChat("/do " NickEng2 " держит удостовирение в правой руке.") Sleep 2500 SendChat("/me раскрыл удостоверение и показал его человеку напротив") Sleep 2500 SendChat("/todo Вот...Смотрите.*показывая удостоверение") Sleep 2500 SendChat("/do В удостовирении - Имя: " NickEng2 " - Дожность: " zvanie2 " - Подразделение: " Razdel2 ".") Sleep 15000 SendChat("/me лёгким движением руки закрыл удостоверение и спрятал его в карман") Sleep 2500 SendChat("/do Удостовирение лежит в правом кармане брюк у " NickEng2 ".") Sleep 2500 return label2: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Загурзился. Выезжаю на поставки!") return label3: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Разгурзился, выезжаю на базу!") return label4: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Черезвычайная ситуация! Нападение ОПГ!") return label5: addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {BDBDBD}По - Для продолжения нажмите {ffffff}F2") KeyWait, vk71, D SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 3 минуты! Кого не будет - Выговор.") Sleep 60000 SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 2 минуты! Кого не будет - Выговор.") Sleep 60000 SendChat("/b " Tag2 ": Всеобщее постраение на плацу. У вас 1 минута! Кого не будет - Выговор.") Sleep 60000 SendChat("/b " Tag2 ": Время ожидания завершено. Начинаю проверять по спискам.") return label6: addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {DDA0DD}Лекция №1 - Для продолжения нажмите {ffffff}F2") KeyWait, vk71, D SendMessage, 0x50,, 0x4190419,, A Sleep, 100 SendChat("/r " Tag2 ": Бойцы, минуту внимания!") Sleep, 1000 SendChat("/r " Tag2 ": Я " zvanie2 " " NickRus2 " хочу прочитать лекцию...") Sleep, 1000 SendChat("/r " Tag2 ": На тему - 'Суббординация'.") Sleep, 1000 SendChat("/r " Tag2 ": В Армии нету таких слов как: 'Привет', 'Как дела?', 'Поговорить можно?' и т.д") Sleep, 1000 SendChat("/r " Tag2 ": Обращаться строго на 'Вы' и только на 'Вы'.") Sleep, 1000 SendChat("/r " Tag2 ": Например: Здравия желаю " zvanie2 " " NickRus2 ".") Sleep, 1000 SendChat("/r " Tag2 ": Покинуть Территорию военной базы можно только по Разрешению.") Sleep, 1000 SendChat("/r " Tag2 ": Незнание правил, не освобождает от ответсвенности!") Sleep, 1000 SendChat("/r " Tag2 ": Всем спасибо за внимание. Желаю продуктивной работы!") Sleep, 100 SendChat("/time") Sleep, 100 SendInput {F8} return label7: addChatMessageEx(0xBDBDBD, "{FF52A4}[AHK]: {DDA0DD}Лекция №2{BDBDBD} - Для продолжения нажмите {ffffff}F2") KeyWait, vk71, D SendMessage, 0x50,, 0x4190419,, A Sleep, 100 SendChat("/r " Tag2 ": Бойцы, минуту внимания!") Sleep, 1000 SendChat("/r " Tag2 ": Я " zvanie2 " " NickRus2 " хочу прочитать лекцию... ") Sleep, 1000 SendChat("/r " Tag2 ": На тему - 'Тир'.") Sleep, 1000 SendChat("/r " Tag2 ": В связи с низкими показателями огневой подготовки... ") Sleep, 1000 SendChat("/r " Tag2 ": Было принято решение Ввести 'Тир'.") Sleep, 1000 SendChat("/r " Tag2 ": Перед тем как уйти в тир...") Sleep, 1000 SendChat("/r " Tag2 ": Вам нужно спросить Разрешения Офицеров.") Sleep, 1000 SendChat("/r " Tag2 ": Посещения Тира не по графику - увольнение.") Sleep, 1000 SendChat("/r " Tag2 ": Незнание правил, не освобождает от ответсвенности!") Sleep, 1000 SendChat("/r " Tag2 ": Всем спасибо за внимание. Желаю продуктивной работы!") Sleep, 1000 SendChat("/time") Sleep, 1000 SendInput {F8} return label8: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Вертолёт - пуст. Вылетаю на загрузку.") return label9: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Загрузился, вылетаю на поставки!") return label10: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Пост: КПП-1. Состояние: Стабильное.") return label11: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("/r " Tag2 ": Докладывает: " NickRus2 ". Пост: КПП-2. Состояние: Стабильное.") return label12: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendChat("Привет, моё имя " NickRus2) return label16: SendMessage, 0x50,, 0x4190419,, A Sleep 100 SendInput {F6} Привет {enter} return return return
$~NumpadEnter::
$~Enter::
if (isInChat() && !isDialogOpen())
{
Sleep 250
dwAddress := dwSAMP + 0x12D8F8
chatInput := readString(hGTA, dwAddress, 256)
if (RegExMatch(chatInput, "^/r\s(.*)", out))
{
temp := Trim(out1)
if (temp == "")
addChatMessageEx(0xFF8CA6, "Используйте ""/r текст""")
else
{
if (!RegExMatch(temp, "\(\(\s.*\s\)\)"))
Sleep, 100
SendChat("/me сняв с пояса рацию передал сообщение")
}
}
else if RegExMatch(chatInput, "^/settag\s(.*)", out)
{
IniWrite, %out1%, %A_MyDocuments%\GTA San Andreas User Files\SAMP\setting.ini, Setup, Tag
addChatMessageEx(0xFF8CA6, "Установлен новый тэг: " out1)
}
}
if (menu==1)
{
punk:="label"+a
Gosub, %punk%
menu:=0
}
return
В цикле перебирай от 0 до n (В твоем случае 36)Помогите сократить повторяющийся код. Я написал Admin Checker для Advance RP Red.
Активация в игре: /admins
AutoHotKey:#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ;#Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #Include Include\SAMP Udf.ahk ; Инклуд #Include Include\Command Processor.ahk ; Инклуд CMD.Register("admins","adminlist") exit adminlist() { IniRead, aName1, admins.ini, admins, Admin1 If (getPlayerIdByName(aName1) = -1) { IniWrite, 0, admins.ini, online, Admin1 } If (getPlayerIdByName(aName1) > -1) { IniWrite, 1, admins.ini, online, Admin1 } IniRead, aName2, admins.ini, admins, Admin2 If (getPlayerIdByName(aName2) = -1) { IniWrite, 0, admins.ini, online, Admin2 } If (getPlayerIdByName(aName2) > -1) { IniWrite, 1, admins.ini, online, Admin2 } IniRead, aName3, admins.ini, admins, Admin3 If (getPlayerIdByName(aName3) = -1) { IniWrite, 0, admins.ini, online, Admin3 } If (getPlayerIdByName(aName3) > -1) { IniWrite, 1, admins.ini, online, Admin3 } IniRead, aName4, admins.ini, admins, Admin4 If (getPlayerIdByName(aName4) = -1) { IniWrite, 0, admins.ini, online, Admin4 } If (getPlayerIdByName(aName4) > -1) { IniWrite, 1, admins.ini, online, Admin4 } IniRead, aName5, admins.ini, admins, Admin5 If (getPlayerIdByName(aName5) = -1) { IniWrite, 0, admins.ini, online, Admin5 } If (getPlayerIdByName(aName5) > -1) { IniWrite, 1, admins.ini, online, Admin5 } IniRead, aName6, admins.ini, admins, Admin6 If (getPlayerIdByName(aName6) = -1) { IniWrite, 0, admins.ini, online, Admin6 } If (getPlayerIdByName(aName6) > -1) { IniWrite, 1, admins.ini, online, Admin6 } IniRead, aName7, admins.ini, admins, Admin7 If (getPlayerIdByName(aName7) = -1) { IniWrite, 0, admins.ini, online, Admin7 } If (getPlayerIdByName(aName7) > -1) { IniWrite, 1, admins.ini, online, Admin7 } IniRead, aName8, admins.ini, admins, Admin8 If (getPlayerIdByName(aName8) = -1) { IniWrite, 0, admins.ini, online, Admin8 } If (getPlayerIdByName(aName8) > -1) { IniWrite, 1, admins.ini, online, Admin8 } IniRead, aName9, admins.ini, admins, Admin9 If (getPlayerIdByName(aName9) = -1) { IniWrite, 0, admins.ini, online, Admin9 } If (getPlayerIdByName(aName9) > -1) { IniWrite, 1, admins.ini, online, Admin9 } IniRead, aName10, admins.ini, admins, Admin10 If (getPlayerIdByName(aName10) = -1) { IniWrite, 0, admins.ini, online, Admin10 } If (getPlayerIdByName(aName10) > -1) { IniWrite, 1, admins.ini, online, Admin10 } IniRead, aName11, admins.ini, admins, Admin11 If (getPlayerIdByName(aName11) = -1) { IniWrite, 0, admins.ini, online, Admin11 } If (getPlayerIdByName(aName11) > -1) { IniWrite, 1, admins.ini, online, Admin11 } IniRead, aName12, admins.ini, admins, Admin12 If (getPlayerIdByName(aName12) = -1) { IniWrite, 0, admins.ini, online, Admin12 } If (getPlayerIdByName(aName12) > -1) { IniWrite, 1, admins.ini, online, Admin12 } IniRead, aName13, admins.ini, admins, Admin13 If (getPlayerIdByName(aName13) = -1) { IniWrite, 0, admins.ini, online, Admin13 } If (getPlayerIdByName(aName13) > -1) { IniWrite, 1, admins.ini, online, Admin13 } IniRead, aName14, admins.ini, admins, Admin14 If (getPlayerIdByName(aName14) = -1) { IniWrite, 0, admins.ini, online, Admin14 } If (getPlayerIdByName(aName14) > -1) { IniWrite, 1, admins.ini, online, Admin14 } IniRead, aName15, admins.ini, admins, Admin15 If (getPlayerIdByName(aName15) = -1) { IniWrite, 0, admins.ini, online, Admin15 } If (getPlayerIdByName(aName15) > -1) { IniWrite, 1, admins.ini, online, Admin15 } IniRead, aName16, admins.ini, admins, Admin16 If (getPlayerIdByName(aName16) = -1) { IniWrite, 0, admins.ini, online, Admin16 } If (getPlayerIdByName(aName16) > -1) { IniWrite, 1, admins.ini, online, Admin16 } IniRead, aName17, admins.ini, admins, Admin7 If (getPlayerIdByName(aName17) = -1) { IniWrite, 0, admins.ini, online, Admin17 } If (getPlayerIdByName(aName17) > -1) { IniWrite, 1, admins.ini, online, Admin17 } IniRead, aName18, admins.ini, admins, Admin18 If (getPlayerIdByName(aName18) = -1) { IniWrite, 0, admins.ini, online, Admin18 } If (getPlayerIdByName(aName18) > -1) { IniWrite, 1, admins.ini, online, Admin18 } IniRead, aName19, admins.ini, admins, Admin19 If (getPlayerIdByName(aName19) = -1) { IniWrite, 0, admins.ini, online, Admin19 } If (getPlayerIdByName(aName19) > -1) { IniWrite, 1, admins.ini, online, Admin19 } IniRead, aName20, admins.ini, admins, Admin20 If (getPlayerIdByName(aName20) = -1) { IniWrite, 0, admins.ini, online, Admin20 } If (getPlayerIdByName(aName20) > -1) { IniWrite, 1, admins.ini, online, Admin20 } IniRead, aName21, admins.ini, admins, Admin21 If (getPlayerIdByName(aName21) = -1) { IniWrite, 0, admins.ini, online, Admin21 } If (getPlayerIdByName(aName21) > -1) { IniWrite, 1, admins.ini, online, Admin21 } IniRead, aName22, admins.ini, admins, Admin22 If (getPlayerIdByName(aName22) = -1) { IniWrite, 0, admins.ini, online, Admin22 } If (getPlayerIdByName(aName22) > -1) { IniWrite, 1, admins.ini, online, Admin22 } IniRead, aName23, admins.ini, admins, Admin23 If (getPlayerIdByName(aName23) = -1) { IniWrite, 0, admins.ini, online, Admin23 } If (getPlayerIdByName(aName23) > -1) { IniWrite, 1, admins.ini, online, Admin23 } IniRead, aName24, admins.ini, admins, Admin24 If (getPlayerIdByName(aName24) = -1) { IniWrite, 0, admins.ini, online, Admin24 } If (getPlayerIdByName(aName24) > -1) { IniWrite, 1, admins.ini, online, Admin24 } IniRead, aName25, admins.ini, admins, Admin25 If (getPlayerIdByName(aName25) = -1) { IniWrite, 0, admins.ini, online, Admin25 } If (getPlayerIdByName(aName25) > -1) { IniWrite, 1, admins.ini, online, Admin25 } IniRead, aName26, admins.ini, admins, Admin26 If (getPlayerIdByName(aName26) = -1) { IniWrite, 0, admins.ini, online, Admin26 } If (getPlayerIdByName(aName26) > -1) { IniWrite, 1, admins.ini, online, Admin26 } IniRead, aName27, admins.ini, admins, Admin27 If (getPlayerIdByName(aName27) = -1) { IniWrite, 0, admins.ini, online, Admin27 } If (getPlayerIdByName(aName27) > -1) { IniWrite, 1, admins.ini, online, Admin27 } IniRead, aName28, admins.ini, admins, Admin28 If (getPlayerIdByName(aName28) = -1) { IniWrite, 0, admins.ini, online, Admin28 } If (getPlayerIdByName(aName28) > -1) { IniWrite, 1, admins.ini, online, Admin28 } IniRead, aName29, admins.ini, admins, Admin29 If (getPlayerIdByName(aName29) = -1) { IniWrite, 0, admins.ini, online, Admin29 } If (getPlayerIdByName(aName29) > -1) { IniWrite, 1, admins.ini, online, Admin29 } IniRead, aName30, admins.ini, admins, Admin30 If (getPlayerIdByName(aName30) = -1) { IniWrite, 0, admins.ini, online, Admin30 } If (getPlayerIdByName(aName30) > -1) { IniWrite, 1, admins.ini, online, Admin30 } IniRead, aName31, admins.ini, admins, Admin31 If (getPlayerIdByName(aName31) = -1) { IniWrite, 0, admins.ini, online, Admin31 } If (getPlayerIdByName(aName31) > -1) { IniWrite, 1, admins.ini, online, Admin31 } IniRead, aName32, admins.ini, admins, Admin32 If (getPlayerIdByName(aName32) = -1) { IniWrite, 0, admins.ini, online, Admin32 } If (getPlayerIdByName(aName32) > -1) { IniWrite, 1, admins.ini, online, Admin32 } IniRead, aName33, admins.ini, admins, Admin33 If (getPlayerIdByName(aName33) = -1) { IniWrite, 0, admins.ini, online, Admin33 } If (getPlayerIdByName(aName33) > -1) { IniWrite, 1, admins.ini, online, Admin33 } IniRead, aName34, admins.ini, admins, Admin34 If (getPlayerIdByName(aName34) = -1) { IniWrite, 0, admins.ini, online, Admin34 } If (getPlayerIdByName(aName34) > -1) { IniWrite, 1, admins.ini, online, Admin34 } IniRead, A1, admins.ini, online, Admin1 IniRead, A2, admins.ini, online, Admin2 IniRead, A3, admins.ini, online, Admin3 IniRead, A4, admins.ini, online, Admin4 IniRead, A5, admins.ini, online, Admin5 IniRead, A6, admins.ini, online, Admin6 IniRead, A7, admins.ini, online, Admin7 IniRead, A8, admins.ini, online, Admin8 IniRead, A9, admins.ini, online, Admin9 IniRead, A10, admins.ini, online, Admin10 IniRead, A11, admins.ini, online, Admin11 IniRead, A12, admins.ini, online, Admin12 IniRead, A13, admins.ini, online, Admin13 IniRead, A14, admins.ini, online, Admin14 IniRead, A15, admins.ini, online, Admin15 IniRead, A16, admins.ini, online, Admin16 IniRead, A17, admins.ini, online, Admin17 IniRead, A18, admins.ini, online, Admin18 IniRead, A19, admins.ini, online, Admin19 IniRead, A20, admins.ini, online, Admin20 IniRead, A21, admins.ini, online, Admin21 IniRead, A22, admins.ini, online, Admin22 IniRead, A23, admins.ini, online, Admin23 IniRead, A24, admins.ini, online, Admin24 IniRead, A25, admins.ini, online, Admin25 IniRead, A26, admins.ini, online, Admin26 IniRead, A27, admins.ini, online, Admin27 IniRead, A28, admins.ini, online, Admin28 IniRead, A29, admins.ini, online, Admin29 IniRead, A30, admins.ini, online, Admin30 IniRead, A31, admins.ini, online, Admin31 IniRead, A32, admins.ini, online, Admin32 IniRead, A33, admins.ini, online, Admin33 IniRead, A34, admins.ini, online, Admin34 AOnline := A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + A10 + A11 + A12 + A13 + A14 + A15 + A16 + A17 + A18 + A19 + A20 + A21 + A22 + A23 + A24 + A25 + A26 + A27 + A28 + A29 + A30 + A31 + A32 + A33 + A34 If (A1 = 1) { AdminState1 = {8bc34a}В сети } If (A1 = 0) { AdminState1 = {ff084a}Оффлайн } If (A2 = 1) { AdminState2 = {8bc34a}В сети } If (A2 = 0) { AdminState2 = {ff084a}Оффлайн } If (A3 = 1) { AdminState3 = {8bc34a}В сети } If (A3 = 0) { AdminState3 = {ff084a}Оффлайн } If (A4 = 1) { AdminState4 = {8bc34a}В сети } If (A4 = 0) { AdminState4 = {ff084a}Оффлайн } If (A5 = 1) { AdminState5 = {8bc34a}В сети } If (A5 = 0) { AdminState5 = {ff084a}Оффлайн } If (A6 = 1) { AdminState6 = {8bc34a}В сети } If (A6 = 0) { AdminState6 = {ff084a}Оффлайн } If (A7 = 1) { AdminState7 = {8bc34a}В сети } If (A7 = 0) { AdminState7 = {ff084a}Оффлайн } If (A8 = 1) { AdminState8 = {8bc34a}В сети } If (A8 = 0) { AdminState8 = {ff084a}Оффлайн } If (A9 = 1) { AdminState9 = {8bc34a}В сети } If (A9 = 0) { AdminState9 = {ff084a}Оффлайн } If (A10 = 1) { AdminState10 = {8bc34a}В сети } If (A10 = 0) { AdminState10 = {ff084a}Оффлайн } If (A11 = 1) { AdminState11 = {8bc34a}В сети } If (A11 = 0) { AdminState11 = {ff084a}Оффлайн } If (A12 = 1) { AdminState12 = {8bc34a}В сети } If (A12 = 0) { AdminState12 = {ff084a}Оффлайн } If (A13 = 1) { AdminState13 = {8bc34a}В сети } If (A13 = 0) { AdminState13 = {ff084a}Оффлайн } If (A14 = 1) { AdminState14 = {8bc34a}В сети } If (A14 = 0) { AdminState14 = {ff084a}Оффлайн } If (A15 = 1) { AdminState15 = {8bc34a}В сети } If (A15 = 0) { AdminState15 = {ff084a}Оффлайн } If (A16 = 1) { AdminState16 = {8bc34a}В сети } If (A16 = 0) { AdminState16 = {ff084a}Оффлайн } If (A17 = 1) { AdminState17 = {8bc34a}В сети } If (A17 = 0) { AdminState17 = {ff084a}Оффлайн } If (A18 = 1) { AdminState18 = {8bc34a}В сети } If (A18 = 0) { AdminState18 = {ff084a}Оффлайн } If (A19 = 1) { AdminState19 = {8bc34a}В сети } If (A19 = 0) { AdminState19 = {ff084a}Оффлайн } If (A20 = 1) { AdminState20 = {8bc34a}В сети } If (A20 = 0) { AdminState20 = {ff084a}Оффлайн } If (A21 = 1) { AdminState21 = {8bc34a}В сети } If (A21 = 0) { AdminState21 = {ff084a}Оффлайн } If (A22 = 1) { AdminState22 = {8bc34a}В сети } If (A22 = 0) { AdminState22 = {ff084a}Оффлайн } If (A23 = 1) { AdminState23 = {8bc34a}В сети } If (A23 = 0) { AdminState23 = {ff084a}Оффлайн } If (A24 = 1) { AdminState24 = {8bc34a}В сети } If (A24 = 0) { AdminState24 = {ff084a}Оффлайн } If (A25 = 1) { AdminState25 = {8bc34a}В сети } If (A25 = 0) { AdminState25 = {ff084a}Оффлайн } If (A26 = 1) { AdminState26 = {8bc34a}В сети } If (A26 = 0) { AdminState26 = {ff084a}Оффлайн } If (A27 = 1) { AdminState27 = {8bc34a}В сети } If (A27 = 0) { AdminState27 = {ff084a}Оффлайн } If (A28 = 1) { AdminState28 = {8bc34a}В сети } If (A28 = 0) { AdminState28 = {ff084a}Оффлайн } If (A29 = 1) { AdminState29 = {8bc34a}В сети } If (A29 = 0) { AdminState29 = {ff084a}Оффлайн } If (A30 = 1) { AdminState30 = {8bc34a}В сети } If (A30 = 0) { AdminState30 = {ff084a}Оффлайн } If (A31 = 1) { AdminState31 = {8bc34a}В сети } If (A31 = 0) { AdminState31 = {ff084a}Оффлайн } If (A32 = 1) { AdminState32 = {8bc34a}В сети } If (A32 = 0) { AdminState32 = {ff084a}Оффлайн } If (A33 = 1) { AdminState33 = {8bc34a}В сети } If (A33 = 0) { AdminState33 = {ff084a}Оффлайн } If (A34 = 1) { AdminState34 = {8bc34a}В сети } If (A34 = 0) { AdminState34 = {ff084a}Оффлайн } ;///////////////////////////////////////// if (isPlayerInStreamById(getPlayerIdByName(aName1), radius := 150) = 1) { aNameN1 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName2), radius := 150) = 1) { aNameN2 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName3), radius := 150) = 1) { aNameN3 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName4), radius := 150) = 1) { aNameN4 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName5), radius := 150) = 1) { aNameN5 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName6), radius := 150) = 1) { aNameN6 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName7), radius := 150) = 1) { aNameN7 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName8), radius := 150) = 1) { aNameN8 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName9), radius := 150) = 1) { aNameN9 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName10), radius := 150) = 1) { aNameN10 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName11), radius := 150) = 1) { aNameN11 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName12), radius := 150) = 1) { aNameN12 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName13), radius := 150) = 1) { aNameN13 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName14), radius := 150) = 1) { aNameN14 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName15), radius := 150) = 1) { aNameN15 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName16), radius := 150) = 1) { aNameN16 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName17), radius := 150) = 1) { aNameN17 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName18), radius := 150) = 1) { aNameN18 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName19), radius := 150) = 1) { aNameN19 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName20), radius := 150) = 1) { aNameN20 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName21), radius := 150) = 1) { aNameN21 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName22), radius := 150) = 1) { aNameN22 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName23), radius := 150) = 1) { aName23 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName24), radius := 150) = 1) { aNameN24 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName25), radius := 150) = 1) { aNameN25 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName26), radius := 150) = 1) { aNameN26 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName27), radius := 150) = 1) { aNameN27 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName28), radius := 150) = 1) { aNameN28 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName29), radius := 150) = 1) { aNameN29 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName30), radius := 150) = 1) { aNameN30 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName31), radius := 150) = 1) { aNameN31 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName32), radius := 150) = 1) { aNameN32 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName33), radius := 150) = 1) { aNameN33 = {ffffff}- {ff7f50}Рядом } if (isPlayerInStreamById(getPlayerIdByName(aName34), radius := 150) = 1) { aNameN34 = {ffffff}- {ff7f50}Рядом } ; ////////////////////////////////////////////////////////////////////////// if (isPlayerInStreamById(getPlayerIdByName(aName1), radius := 150) = 0) { aNameN1 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName2), radius := 150) = 0) { aNameN2 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName3), radius := 150) = 0) { aNameN3 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName4), radius := 150) = 0) { aNameN4 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName5), radius := 150) = 0) { aNameN5 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName6), radius := 150) = 0) { aNameN6 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName7), radius := 150) = 0) { aNameN7 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName8), radius := 150) = 0) { aNameN8 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName9), radius := 150) = 0) { aNameN9 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName10), radius := 150) = 0) { aNameN10 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName11), radius := 150) = 0) { aNameN11 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName12), radius := 150) = 0) { aNameN12 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName13), radius := 150) = 0) { aNameN13 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName14), radius := 150) = 0) { aNameN14 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName15), radius := 150) = 0) { aNameN15 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName16), radius := 150) = 0) { aNameN16 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName17), radius := 150) = 0) { aNameN17 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName18), radius := 150) = 0) { aNameN18 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName19), radius := 150) = 0) { aNameN19 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName20), radius := 150) = 0) { aNameN20 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName21), radius := 150) = 0) { aNameN21 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName22), radius := 150) = 0) { aNameN22 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName23), radius := 150) = 0) { aNameN23 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName24), radius := 150) = 0) { aNameN24 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName25), radius := 150) = 0) { aNameN25 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName26), radius := 150) = 0) { aNameN26 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName27), radius := 150) = 0) { aNameN27 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName28), radius := 150) = 0) { aNameN28 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName29), radius := 150) = 0) { aNameN29 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName30), radius := 150) = 0) { aNameN30 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName31), radius := 150) = 0) { aNameN31 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName32), radius := 150) = 0) { aNameN32 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName33), radius := 150) = 0) { aNameN33 = {ffffff} } if (isPlayerInStreamById(getPlayerIdByName(aName34), radius := 150) = 0) { aNameN34 = {ffffff} } ;/////////////////////////////////////////////////////////////////////////// If (AOnline < 1) { AOnlineColor = {ff084a} } If (AOnline > 1) { AOnlineColor = {8bc34a} } ;/////////////////////////////////////////////////////////////////////////// if ((getPlayerIdByName(aName1)) = -1) adminId1 = if ((getPlayerIdByName(aName1)) > -1) adminId1 := "[{ff7f50}" (getPlayerIdByName(aName2)) "{ffffff}]" if ((getPlayerIdByName(aName2)) = -1) adminId2 = if ((getPlayerIdByName(aName2)) > -1) adminId2 := "[{ff7f50}" (getPlayerIdByName(aName2)) "{ffffff}]" if ((getPlayerIdByName(aName3)) = -1) adminId3 = if ((getPlayerIdByName(aName3)) > -1) adminId3 := "[{ff7f50}" (getPlayerIdByName(aName3)) "{ffffff}]" if ((getPlayerIdByName(aName4)) = -1) adminId4 = if ((getPlayerIdByName(aName4)) > -1) adminId4 := "[{ff7f50}" (getPlayerIdByName(aName4)) "{ffffff}]" if ((getPlayerIdByName(aName5)) = -1) adminId5 = if ((getPlayerIdByName(aName5)) > -1) adminId5 := "[{ff7f50}" (getPlayerIdByName(aName5)) "{ffffff}]" if ((getPlayerIdByName(aName6)) = -1) adminId6 = if ((getPlayerIdByName(aName6)) > -1) adminId6 := "[{ff7f50}" (getPlayerIdByName(aName6)) "{ffffff}]" if ((getPlayerIdByName(aName7)) = -1) adminId7 = if ((getPlayerIdByName(aName7)) > -1) adminId7 := "[{ff7f50}" (getPlayerIdByName(aName7)) "{ffffff}]" if ((getPlayerIdByName(aName8)) = -1) adminId8 = if ((getPlayerIdByName(aName8)) > -1) adminId8 := "[{ff7f50}" (getPlayerIdByName(aName8)) "{ffffff}]" if ((getPlayerIdByName(aName9)) = -1) adminId9 = if ((getPlayerIdByName(aName9)) > -1) adminId9 := "[{ff7f50}" (getPlayerIdByName(aName9)) "{ffffff}]" if ((getPlayerIdByName(aName10)) = -1) adminId10 = if ((getPlayerIdByName(aName10)) > -1) adminId10 := "[{ff7f50}" (getPlayerIdByName(aName10)) "{ffffff}]" if ((getPlayerIdByName(aName11)) = -1) adminId11 = if ((getPlayerIdByName(aName11)) > -1) adminId11 := "[{ff7f50}" (getPlayerIdByName(aName11)) "{ffffff}]" if ((getPlayerIdByName(aName12)) = -1) adminId12 = if ((getPlayerIdByName(aName12)) > -1) adminId12 := "[{ff7f50}" (getPlayerIdByName(aName12)) "{ffffff}]" if ((getPlayerIdByName(aName13)) = -1) adminId13 = if ((getPlayerIdByName(aName13)) > -1) adminId13 := "[{ff7f50}" (getPlayerIdByName(aName13)) "{ffffff}]" if ((getPlayerIdByName(aName14)) = -1) adminId14 = if ((getPlayerIdByName(aName14)) > -1) adminId14 := "[{ff7f50}" (getPlayerIdByName(aName14)) "{ffffff}]" if ((getPlayerIdByName(aName15)) = -1) adminId15 = if ((getPlayerIdByName(aName15)) > -1) adminId15 := "[{ff7f50}" (getPlayerIdByName(aName15)) "{ffffff}]" if ((getPlayerIdByName(aName16)) = -1) adminId16 = if ((getPlayerIdByName(aName16)) > -1) adminId16 := "[{ff7f50}" (getPlayerIdByName(aName16)) "{ffffff}]" if ((getPlayerIdByName(aName17)) = -1) adminId17 = if ((getPlayerIdByName(aName17)) > -1) adminId17 := "[{ff7f50}" (getPlayerIdByName(aName17)) "{ffffff}]" if ((getPlayerIdByName(aName18)) = -1) adminId18 = if ((getPlayerIdByName(aName18)) > -1) adminId18 := "[{ff7f50}" (getPlayerIdByName(aName18)) "{ffffff}]" if ((getPlayerIdByName(aName19)) = -1) adminId19 = if ((getPlayerIdByName(aName19)) > -1) adminId19 := "[{ff7f50}" (getPlayerIdByName(aName19)) "{ffffff}]" if ((getPlayerIdByName(aName20)) = -1) adminId20 = if ((getPlayerIdByName(aName20)) > -1) adminId20 := "[{ff7f50}" (getPlayerIdByName(aName20)) "{ffffff}]" if ((getPlayerIdByName(aName21)) = -1) adminId21 = if ((getPlayerIdByName(aName21)) > -1) adminId21 := "[{ff7f50}" (getPlayerIdByName(aName21)) "{ffffff}]" if ((getPlayerIdByName(aName22)) = -1) adminId22 = if ((getPlayerIdByName(aName22)) > -1) adminId22 := "[{ff7f50}" (getPlayerIdByName(aName22)) "{ffffff}]" if ((getPlayerIdByName(aName23)) = -1) adminId23 = if ((getPlayerIdByName(aName23)) > -1) adminId23 := "[{ff7f50}" (getPlayerIdByName(aName23)) "{ffffff}]" if ((getPlayerIdByName(aName24)) = -1) adminId24 = if ((getPlayerIdByName(aName24)) > -1) adminId24 := "[{ff7f50}" (getPlayerIdByName(aName24)) "{ffffff}]" if ((getPlayerIdByName(aName25)) = -1) adminId25 = if ((getPlayerIdByName(aName25)) > -1) adminId25 := "[{ff7f50}" (getPlayerIdByName(aName25)) "{ffffff}]" if ((getPlayerIdByName(aName26)) = -1) adminId26 = if ((getPlayerIdByName(aName26)) > -1) adminId26 := "[{ff7f50}" (getPlayerIdByName(aName26)) "{ffffff}]" if ((getPlayerIdByName(aName27)) = -1) adminId27 = if ((getPlayerIdByName(aName27)) > -1) adminId27 := "[{ff7f50}" (getPlayerIdByName(aName27)) "{ffffff}]" if ((getPlayerIdByName(aName28)) = -1) adminId28 = if ((getPlayerIdByName(aName28)) > -1) adminId28 := "[{ff7f50}" (getPlayerIdByName(aName28)) "{ffffff}]" if ((getPlayerIdByName(aName29)) = -1) adminId29 = if ((getPlayerIdByName(aName29)) > -1) adminId29 := "[{ff7f50}" (getPlayerIdByName(aName29)) "{ffffff}]" if ((getPlayerIdByName(aName30)) = -1) adminId30 = if ((getPlayerIdByName(aName30)) > -1) adminId30 := "[{ff7f50}" (getPlayerIdByName(aName30)) "{ffffff}]" if ((getPlayerIdByName(aName31)) = -1) adminId31 = if ((getPlayerIdByName(aName31)) > -1) adminId31 := "[{ff7f50}" (getPlayerIdByName(aName31)) "{ffffff}]" if ((getPlayerIdByName(aName32)) = -1) adminId32 = if ((getPlayerIdByName(aName32)) > -1) adminId32 := "[{ff7f50}" (getPlayerIdByName(aName32)) "{ffffff}]" if ((getPlayerIdByName(aName33)) = -1) adminId33 = if ((getPlayerIdByName(aName33)) > -1) adminId33 := "[{ff7f50}" (getPlayerIdByName(aName33)) "{ffffff}]" if ((getPlayerIdByName(aName34)) = -1) adminId34 = if ((getPlayerIdByName(aName34)) > -1) adminId34 := "[{ff7f50}" (getPlayerIdByName(aName34)) "{ffffff}]" ;;/////////////////////////////////////////////////////////////////////////// showDialog(4, "{ffffff}Админов в сети: " AOnlineColor AOnline, "{ffffff}" aName1 adminId1 " - " AdminState1 aNameN1 "`n" "{ffffff}" aName2 adminId2 " - " AdminState2 aNameN2 "`n" "{ffffff}" aName3 adminId3 " - " AdminState3 aNameN3 "`n" "{ffffff}" aName4 adminId4 " - " AdminState4 aNameN4 "`n" "{ffffff}" aName5 adminId5 " - " AdminState5 aNameN5 "`n" "{ffffff}" aName6 adminId6 " - " AdminState6 aNameN6 "`n" "{ffffff}" aName7 adminId7 " - " AdminState7 aNameN7 "`n" "{ffffff}" aName8 adminId8 " - " AdminState8 aNameN8 "`n" "{ffffff}" aName9 adminId9 " - " AdminState9 aNameN9 "`n" "{ffffff}" aName10 adminId10 " - " AdminState10 aNameN10 "`n" "{ffffff}" aName11 adminId11 " - " AdminState11 aNameN11 "`n" "{ffffff}" aName12 adminId12 " - " AdminState12 aNameN12 "`n" "{ffffff}" aName13 adminId13 " - " AdminState13 aNameN13 "`n" "{ffffff}" aName14 adminId14 " - " AdminState14 aNameN14 "`n" "{ffffff}" aName15 adminId15 " - " AdminState15 aNameN15 "`n" "{ffffff}" aName16 " - " AdminState16 aNameN16 "`n" "{ffffff}" aName17 adminId17 " - " AdminState17 aNameN17 "`n" "{ffffff}" aName18 adminId18 " - " AdminState18 aNameN18 "`n" "{ffffff}" aName19 adminId19 " - " AdminState19 aNameN19 "`n" "{ffffff}" aName20 adminId20 " - " AdminState20 aNameN20 "`n" "{ffffff}" aName21 adminId21 " - " AdminState21 aNameN21 "`n" "{ffffff}" aName22 adminId22 " - " AdminState22 aNameN22 "`n" "{ffffff}" aName23 adminId23 " - " AdminState23 aNameN23 "`n" "{ffffff}" aName24 adminId24 " - " AdminState24 aNameN24 "`n" "{ffffff}" aName25 adminId25 " - " AdminState25 aNameN25 "`n" "{ffffff}" aName26 adminId26 " - " AdminState26 aNameN26 "`n" "{ffffff}" aName27 adminId27 " - " AdminState27 aNameN27 "`n" "{ffffff}" aName28 adminId28 " - " AdminState28 aNameN28 "`n" "{ffffff}" aName29 adminId29 " - " AdminState29 aNameN29 "`n" "{ffffff}" aName30 adminId30 " - " AdminState30 aNameN30 "`n" "{ffffff}" aName31 adminId31 " - " AdminState31 aNameN31 "`n" "{ffffff}" aName32 adminId32 " - " AdminState32 aNameN32 "`n" "{ffffff}" aName33 adminId33 " - " AdminState33 aNameN33 "`n" "{ffffff}" aName34 adminId34 " - " AdminState34 aNameN34 "`n", "Закрыть", id) Return }
admins . ini
AutoHotKey:[admins] Admin1 = Smart_Jackson Admin2 = Andrey_Ringo Admin3 = Kevi_Rothwell Admin4 = David_Garner Admin5 = Louis_Bacardi Admin6 = Thomas_Martines Admin7 = Mellissa_Flores Admin8 = Roberto_Chilli Admin9 = Lina_Grossi Admin10 = Andrew_Bacardi Admin11 = Logan_Cookie Admin12 = Aleksandr_Novikov Admin13 = Devil_Castle Admin14 = Richard_Alpert Admin15 = Joneso_Waynes Admin16 = Alice_Dwight Admin17 = Emily_Allison Admin18 = Mike_Reiner Admin19 = Alena_Wayne Admin20 = Misha_Pankratov Admin21 = Richard_Chilli Admin22 = Nicolas_Cardozo Admin23 = Nelly_Lakers Admin24 = Kori_West Admin25 = Dekka_Elcano Admin26 = Pavel_Omelchuk Admin27 = James_Grose Admin28 = Ellio_Cortez Admin29 = Johny_Sullivan Admin30 = Mark_Onegin Admin31 = Andrew_Cookie Admin32 = Dima_Nait Admin33 = Mickey_Clifford Admin34 = Xavier_Blackberry [online] Admin1=0 Admin2=0 Admin3=0 Admin4=0 Admin5=0 Admin6=1 Admin7=0 Admin8=0 Admin9=0 Admin10=0 Admin11=0 Admin12=0 Admin13=0 Admin14=1 Admin15=1 Admin16=0 Admin17=0 Admin18=1 Admin19=0 Admin20=0 Admin21=0 Admin22=0 Admin23=0 Admin24=0 Admin25=0 Admin26=0 Admin27=0 Admin28=0 Admin29=0 Admin30=0 Admin31=1 Admin32=1 Admin33=1 Admin34=1