Hi,
Why dont want press down in samp gui?
Look:
- 1. First need to press this -
http://i.imgur.com/z2SwxzQ.png
- 2. Two need to press this -
Why dont want press down in samp gui?
Look:
- 1. First need to press this -
http://i.imgur.com/z2SwxzQ.png
- 2. Two need to press this -
http://i.imgur.com/guh49Ep.png
Two work fine , but first dont want press , maybe know why?
Two work fine , but first dont want press , maybe know why?
Code:
{$CLEO .cs}
thread 'SendFakePress'
:TESTCLEO_01
wait 0
if
0AB0: 74
then
0AF9: samp say_msg "/vartoti"
wait 1000
0AB1: @FAKE_KEYPRESS_GUI_DOWN 1 _OFFSET_KEY_ 0x1E {Enter}
wait 1000
0AB1: @FAKE_KEYPRESS_GUI_NR1 1 _OFFSET_KEY_ 0x1E {Enter}
end
jump @TESTCLEO_01
:FAKE_KEYPRESS_GUI_NR1
1@ = 0xB73458
005A: 1@ += 0@ // (int)
0B47: samp close_current_dialog_with_button 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0
:FAKE_KEYPRESS_GUI_DOWN
1@ = 0xB73458
005A: 1@ += 0@ // (int)
0B49: samp set_current_dialog_list_item 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0