if
0AB0: key_pressed 2
then
0AF8: samp add_message_to_chat "Suche!" color -1
for 1@ = 0 to 9999
if SAMP.Available()
then
06D2: 17@v = "(null)"
0B46: samp 3d_text 1@ defined
0C46: samp get_3d_text_info_by_id 1@ string_ptr 3@ color 4@ position 5@ 6@ 7@ view_distance 8@ show_behind_walls 9@ attached_to_player 10@ attached_to_vehicle 11@
if
0C21: strcmp string1 17@v string2 3@v
then
0AF8: samp add_message_to_chat "Wrong Label! %d - %s" -1 1@ 3@
else
0AF8: samp add_message_to_chat "ID: %d String: %s Color: %s" color 0xFF0000 1@ 3@ 4@
break
end
end
end
end
FOR 1@ = 0 to 2048 //MAX_3DTEXT
IF 0B46: samp 3d_text 1@ defined //not (null)
THEN
0C46: samp get_3d_text_info_by_id 1@ string_ptr 2@ color 3@ position 4@ 5@ 6@ useless $n1 $n2 $n3 $n4
0AF8: "id: %d, col 0x%x" -1 1@ 3@
0AF8: "text: %s" -1 2@ //text might be longer than 144chars and will not fit in a single chat line
END
END