CLEO Help Text draw teleporter.

CLEO related
Status
Not open for further replies.

qweasdz

Active member
Joined
Nov 4, 2014
Messages
147
Reaction score
7
Hey, i am looking for a textdraw/3dtextlabel teleporter, or just that i can see it being far away. It doesnt have any pickups/objects to it, it just shows text. Something like that exist?

Thanks!
 
Last edited:

qweasdz

Active member
Joined
Nov 4, 2014
Messages
147
Reaction score
7
This is what happens when i type /find3dtext. But it doesnt show no id, no text. just the distance.
And /tele3dtext doesnt work at all... Any help on this?
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,113
Solutions
5
Reaction score
878
Location
Lithuania
PHP:
{$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
 
Status
Not open for further replies.
Top