Я могу добавить если нужно.Работает отлично. Но я захотел забиндить и другую команду. Изменил поток и все названия конфига, к которому обращается клео. Но почему-то не работает :(
Как можно добавить ещё пару биндов?
Код:// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- 0000: NOP thread "UNIVERSALKNOCK" if 0AAB: file_exists "CLEO\UNIVERSALKNOCK.INI" else_jump @UNIVERSALKNOCK_205 0AF0: 1@ = get_int_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "KEY" 0AF0: 2@ = get_int_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "WAIT" 0AF4: 3@v = read_string_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "COMMAND" jump @UNIVERSALKNOCK_351 :UNIVERSALKNOCK_205 0AF1: write_int 84 to_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "KEY" 0AF1: write_int 100 to_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "WAIT" 0AF5: write_string "KNOCKDOWN" to_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "COMMAND" :UNIVERSALKNOCK_351 wait 0 0AF0: 1@ = get_int_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "KEY" if and 0AD2: 29@ = player $PLAYER_CHAR targeted_actor //IF and SET key_down 1@ else_jump @UNIVERSALKNOCK_569 10@ = SAMP.GetSAMPPlayerIDByActorHandle(29@) 11@ = SAMP.GetPlayerNickname(10@) 0AF0: 2@ = get_int_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "WAIT" wait 2@ 0AF4: 3@v = read_string_from_ini_file "CLEO\UNIVERSALKNOCK.INI" section "SETTINGS" key "COMMAND" say "/%S %D" 3@v 10@ wait 500 jump @UNIVERSALKNOCK_569 :UNIVERSALKNOCK_569 jump @UNIVERSALKNOCK_351