Hello,
I'm facing issues to make a cleo out of this code
I tried to make a cleo out of it but everytime I launched samp it gave me errors.
I hope someone can help me @Parazitas
I'm facing issues to make a cleo out of this code
Code:
{$CLEO}
0000:
REPEAT
WAIT 100
UNTIL 0AFA:
0b34: "find3dtext" @labels
0b34: "tele3dtext" @tp
WHILE TRUE
WAIT 0
END
:labels
0b35: 11@
00A0: store_actor $PLAYER_ACTOR position_to 14@ 15@ 16@
for 0@ = 0 to 2048
if 0B46: samp 3d_text 0@ defined
then
0C46: samp get_3d_text_info_by_id 0@ string_ptr 1@ color 2@ position 3@ 4@ 5@ view_distance 6@ show_behind_walls 7@ attached_to_player 8@ attached_to_vehicle 9@
if 0C29: 10@ = stristr string1 1@ string2 11@
then
0509: 17@ = distance_between_XY 14@ 15@ 3@ 4@
0af8: "LABEL: ID (%d); DIST: (%0.2f); TEXT: %s" -1 0@ 17@ 1@
end
end
end
0b43:
:tp
0b35: 0@
0C1A: 0@ = atoi 0@
if 0B46: samp 3d_text 0@ defined
then
0C46: samp get_3d_text_info_by_id 0@ string_ptr 1@ color 2@ position 3@ 4@ 5@ view_distance 6@ show_behind_walls 7@ attached_to_player 8@ attached_to_vehicle 9@
00A1: put_actor $PLAYER_ACTOR at 3@ 4@ 5@
end
0b43:
I tried to make a cleo out of it but everytime I launched samp it gave me errors.
I hope someone can help me @Parazitas