Majestique-
Member
- Joined
- May 16, 2016
- Messages
- 5
- Reaction score
- 0
Hi! I need a cleo that spam click on a clickable textdraw. Idk if i have to get the id and how to do it.
0.3.7 r1
0BCA: samp send_click_textdraw 2015 // 2015 = textdraw id
Yeah Can spam if you make it loopDoes it spam on that textdraw?
And can u tell me please how can i get the id of the textdraw? I'm new in cleo scripts.. thanks
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "txd" @textdraw
WHILE TRUE
WAIT 0
END
:textdraw
0B35: 0@
for 1@ = 0 to 2304
if 0C5D: samp textdraw 1@ is_exists
then
alloc 2@ = 1024
0C5A: samp textdraw 1@ get_string_to 2@
if 0C29: 3@ = stristr string1 2@ string2 0@
then 0AF8: "textdraw with id %d contains %s text" -1 1@ 2@
end
free 2@
end
end
0B43: