{$CLEO}
0000: NOP
repeat
wait 0
until 0AFA:
while true
wait 0
FOR 0@ = 0 TO 2050
if
0C5D: samp textdraw 0@ is_exists
then
0C59: samp textdraw 0@ get_model 1@ rot $NOT_USED $NOT_USED $NOT_USED zoom $NOT_USED veh_color $NOT_USED $NOT_USED
if
1@ == 1609 //if model of textdraw == 1609
then
0BCA: samp send_click_textdraw 0@
BREAK
end
end
END
end
PHP:{$CLEO} 0000: NOP repeat wait 0 until 0AFA: while true wait 0 FOR 0@ = 0 TO 2050 if 0C5D: samp textdraw 0@ is_exists then 0C59: samp textdraw 0@ get_model 1@ rot $NOT_USED $NOT_USED $NOT_USED zoom $NOT_USED veh_color $NOT_USED $NOT_USED if 1@ == 1609 //if model of textdraw == 1609 then 0BCA: samp send_click_textdraw 0@ BREAK end end END end
Not tested, try this.
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
While True
Wait 0
for 0@ = 0 to 2304
If
0C5D: samp textdraw 0@ is_exists
Then
0C59: samp textdraw 0@ get_model 1@ rotation 2@ 3@ 4@ zoom 5@ veh_color 6@ 7@
If
1@ == 1609
Then
0BCA: samp send_click_textdraw 0@
end
end
end
END
Code:{$CLEO .cs} 0000: NOP REPEAT Wait 0 Until 0AFA: is_samp_structures_available While True Wait 0 for 0@ = 0 to 2304 If 0C5D: samp textdraw 0@ is_exists Then 0C59: samp textdraw 0@ get_model 1@ rotation 2@ 3@ 4@ zoom 5@ veh_color 6@ 7@ If 1@ == 1609 Then 0BCA: samp send_click_textdraw 0@ end end end END