CLEO HELP help click textdraw

ItsRobinson

Well-Known Member
Joined
Nov 16, 2017
Messages
104
Likes
19
Points
33
#2
OP
OP
Joined
Jun 10, 2020
Messages
5
Likes
0
Points
1
Location
argentina
1
#3
PHP:
{$CLEO}
0000: NOP
repeat
    wait 0
until 0AFA:

while true
    wait 0
    FOR [email protected] = 0 TO 2050
        if
            0C5D: samp textdraw [email protected] is_exists
        then
            0C59: samp textdraw [email protected] get_model [email protected] rot $NOT_USED $NOT_USED $NOT_USED zoom $NOT_USED veh_color $NOT_USED $NOT_USED
            if
                [email protected] == 1609 //if model of textdraw == 1609
            then
                0BCA: samp send_click_textdraw [email protected]
                BREAK   
            end
        end   
    END
end
Not tested, try this.
It has not worked for me, any idea why?
 

kazkaS

Well-Known Member
Joined
Mar 30, 2018
Messages
165
Likes
18
Points
33
Location
Lithuania
#4
Code:
{$CLEO .cs} 
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
 
While True
Wait 0 
for [email protected] = 0 to 2304
If
0C5D: samp textdraw [email protected] is_exists
Then
0C59: samp textdraw [email protected] get_model [email protected] rotation [email protected] [email protected] [email protected] zoom [email protected] veh_color [email protected] [email protected]
If 
[email protected] == 1609
Then
0BCA: samp send_click_textdraw [email protected]
end
end
end
END
 
OP
OP
Joined
Jun 10, 2020
Messages
5
Likes
0
Points
1
Location
argentina
1
#5
Code:
{$CLEO .cs} 
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
 
While True
Wait 0 
for [email protected] = 0 to 2304
If
0C5D: samp textdraw [email protected] is_exists
Then
0C59: samp textdraw [email protected] get_model [email protected] rotation [email protected] [email protected] [email protected] zoom [email protected] veh_color [email protected] [email protected]
If 
[email protected] == 1609
Then
0BCA: samp send_click_textdraw [email protected]
end
end
end
END
It worked, thanks!
 
Top