- 56
- 6
Вот помогите, cleo работает, но нажимает только "Y" когда "Press Y" а когда "Press N" он"N" не нажимает, хотя я указал что нажал. Помогите
// 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
0001: wait 1500 ms
0AF8: samp add_message_to_chat "{4183D7}[StagePress] {ffffff}Àêòèâàöèÿ: {4183D7}/spr{ffffff}. Àâòîðû: {4183D7}Kot {ffffff}, {4183D7}kemperrs." color 16777215
0B34: samp register_client_command "spr" to_label @Noname_294
0AC8: 1@ = allocate_memory_size 256
:Noname_146
0001: wait 0 ms
00D6: if
0039: 0@ == 1
004D: jump_if_false @Noname_287
00D6: if
0C14: strcmp string1 "Press Y" string2 "Press Y"
004D: jump_if_false @Noname_245
0B56: set_game_key 11 state 128
0001: wait 5 ms
0B56: set_game_key 11 state 0
0001: wait 16 ms
0002: jump @Noname_287
:Noname_245
00D6: if
0C14: strcmp string1 "Press N" string2 "Press N"
004D: jump_if_false @Noname_287
0B56: set_game_key 10 state 128
0001: wait 15 ms
0B56: set_game_key 10 state 0
:Noname_287
0002: jump @Noname_146
:Noname_294
00D6: if
0039: 0@ == 0
004D: jump_if_false @Noname_343
0ACD: show_text_highpriority "~g~Actived" time 1500
0006: 0@ = 1
0002: jump @Noname_369
:Noname_343
0ACD: show_text_highpriority "~r~Deactived" time 1500
0006: 0@ = 0
:Noname_369
0B43: samp cmd_ret