{$CLEO}
0000:
REPEAT
WAIT 100
UNTIL 0AFA:
WHILE TRUE
WAIT 0
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: $NOT_USED = stristr string1 1@ string2 "TextPutHere"
then
0AF3: write_float 3@ to_ini_file "cleo\3D_Text.ini" section "Coords" key "X"
0AF3: write_float 4@ to_ini_file "cleo\3D_Text.ini" section "Coords" key "Y"
0AF3: write_float 5@ to_ini_file "cleo\3D_Text.ini" section "Coords" key "Z"
0AD1: show_formatted_text_highpriority "~w~Text Detected ! ~b~Press keys!!! " time 1337
end
end
end
if and
0ab0: 90 // Z
0ab0: 76 // L
then
0AF2: 12@ = get_float_from_ini_file "cleo\3D_Text.ini" section "Coords" key "X"
0AF2: 13@ = get_float_from_ini_file "cleo\3D_Text.ini" section "Coords" key "Y"
0AF2: 14@ = get_float_from_ini_file "cleo\3D_Text.ini" section "Coords" key "Z"
00A1: put_actor $PLAYER_ACTOR at 12@ 13@ 14@
end
END