Сделал я мини скриптик и сразу не проверяя его на работоспособность начал его оптимизировать превращать в нормальный не стыдный код.
В итоге захожу в игру и получается вот такая чупакабра в чате. Вместо этой "чупакабры" должен быть ник_нейм.
Думал что я где-то что-то случайно лишнее забыл удалить или ещё что-то и началговнокодить, в итоге ничего не поменялось.
Вот сам код иини файл.
Я не понимаю, ну где тут может быть ошибка. Вроде бы всё правильно. Уже только что не поменял. Кто поможет, тому буду вечно благодарен :)
В итоге захожу в игру и получается вот такая чупакабра в чате. Вместо этой "чупакабры" должен быть ник_нейм.
Думал что я где-то что-то случайно лишнее забыл удалить или ещё что-то и начал
Вот сам код и
.:
{$CLEO}
{$NOSOURCE}
IF 8AA2: NOT 0@ = load_library "SAMP.DLL"
THEN 0A93:
END
:samp_check
wait 0
IF 0AFA: is_samp_available
THEN
WAIT 3000
jump @Main_Label
ELSE
jump @samp_check
END
:Main_Label
0B34: samp register_client_command "checkadmins" to_label @checkadmins
WHILE TRUE
wait 0
end
:checkadmins
wait 0
0AF8: samp add_message_to_chat "Админы в сети{990000}:" color 0xFF9900
///////////////////////////////// INI /////////////////////////////
0AF4: 1@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "01"
0AF4: 2@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "02"
0AF4: 3@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "03"
0AF4: 4@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "04"
0AF4: 5@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "05"
0AF4: 6@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "06"
0AF4: 7@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "07"
0AF4: 8@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "08"
0AF4: 9@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "09"
0AF4: 10@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "10"
0AF4: 11@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "11"
0AF4: 12@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "12"
0AF4: 13@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "13"
0AF4: 14@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "14"
0AF4: 15@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "15"
0AF4: 16@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "16"
0AF4: 17@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "17"
0AF4: 18@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "18"
0AF4: 19@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "19"
0AF4: 20@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "20"
0AF4: 21@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "21"
0AF4: 22@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "22"
///////////////////////////////////////////////////////////////////////////////////////////
////////1 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 1@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF // Эту штуку я уберу. Она нужна для того чтобы наглядно понять где собака всё-таки зарыта
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////2 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 2@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////3 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 3@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////4 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 4@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////5 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 5@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////6 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 6@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////7 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 7@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////8 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 8@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////9 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 9@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////10 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 10@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////11 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 11@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////12 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 12@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////13 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 13@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////14 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 14@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////15 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 15@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////16 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 16@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////17 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 17@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////18 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 18@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////19 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 19@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////20 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 20@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////21 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 21@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////22 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 22@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
///////////////////////////////// INI /////////////////////////////
0AF4: 1@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "23"
0AF4: 2@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "24"
0AF4: 3@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "25"
0AF4: 4@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "26"
0AF4: 5@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "27"
0AF4: 6@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "28"
0AF4: 7@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "29"
0AF4: 8@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "30"
0AF4: 9@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "31"
0AF4: 10@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "32"
0AF4: 11@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "33"
0AF4: 12@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "34"
0AF4: 13@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "35"
0AF4: 14@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "36"
0AF4: 15@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "37"
0AF4: 16@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "38"
0AF4: 17@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "39"
0AF4: 18@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "40"
0AF4: 19@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "41"
0AF4: 20@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "42"
0AF4: 21@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "43"
0AF4: 22@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "44"
/////////////////////////////////////////////////////////////////////////////////////////////////////////23 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 1@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////23 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 2@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////25 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 3@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////26 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 4@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////27 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 5@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////28 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 6@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////29 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 7@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////30 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 8@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////31 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 9@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////32 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 10@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////33 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 11@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////34 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 12@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////35 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 13@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////36 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 14@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////37 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 15@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////38 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 16@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////39 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 17@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////40 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 18@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////41 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 19@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////42 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 20@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////43 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 21@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////44 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 22@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
///////////////////////////////// INI /////////////////////////////
0AF4: 1@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "45"
0AF4: 2@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "46"
0AF4: 3@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "47"
0AF4: 4@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "48"
0AF4: 5@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "49"
0AF4: 6@v = read_string_from_ini_file "cleo\AdminsChecker" section "Admins" key "50"
/////////////////////////////////////////////////////////////////////////////////////////////////
////////45 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 1@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////46 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 2@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////47 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 3@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////48 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 4@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////49 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 5@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
////////50 - id/////////
0AC8: 25@ = allocate_memory_size 256
0AD3: 25@ = format "%s" 6@v
0AF8: samp add_message_to_chat 25@ color 0xFFFFFF
for 23@ = 1 to 1000 // возрастание - от 1 до 1000 (с шагом 1, по умолчанию)
if SAMP.IsPlayerConnected(23@)
then
0B36: samp 24@ = get_player_nickname 23@
if 0C14: strcmp string1 24@ string2 25@
THEN
0AC8: 26@ = allocate_memory_size 256
0AD3: 26@ = format "%s - %d id" 25@ 23@
0AF8: samp add_message_to_chat 26@ color 0xFFFFFF
0AC9: free_allocated_memory 26@
end
end
end
0AC9: free_allocated_memory 25@
0B43: samp cmd_ret
.:
[Admins]
01=Dmitry_Bagaev
02=Maxim_Orlow
03=Katerina_Volkova
04=Stasik_Montana
05=Natasha_Lisovaya
06=Ranis_Washington
07=Don_Wood
08=Elwin_Aliyev
09=Alexsandr_Kersman
10=Niko_Fest
11=Dimon_Suicide
12=Danya_Aquamarine
13=Danik_Harrison
14=Santiago_Quintano
15=Nick_Ross
16=Eddi_Opium
17=Rikki_Groz
18=Dmitriy_Hellsing
19=Danya_Macintosh
20=Karina_Wannabe
21=Kirya_Ghost
22=Nikitos_Immortal
23=Gordon_Aquamarine
24=Antony_Enside
25=Dima_Tape
26=Igorek_Radov
27=Alexander_Kotelnikov
28=Thomas_Alpha
29=Artur_Tatarskyi
30=Yamato_Kimura
31=Maks_Lansky
32=Tema_Cooperr
33=Nata_Dem
34=Maria_Zlaya
35=Alina_Kennedy
36=Sweazy_Fedorof
37=Kenny_Wood
38=Aleksandr_Bulochkin
39=Tomasso_Wilson
40=Tony_Rebrov
41=Denchik_Kiselyov
42=Tailer_Winston
43=Nikolay_Mixelson
44=Tanya_Street
45=Domenico_Marlboro
46=Anna_Lansky
47=Lorenzo_Winston
48=Oliver_Gold
49=Jimmi_Aquamarine
50=Dexter_Morgan
Я не понимаю, ну где тут может быть ошибка. Вроде бы всё правильно. Уже только что не поменял. Кто поможет, тому буду вечно благодарен :)
Последнее редактирование: