CLEO Help [Help] Hi, How to replace the link "//" with sanny builder

CLEO related
Status
Not open for further replies.

M3D

Active member
Joined
May 22, 2014
Messages
130
Solutions
1
Reaction score
2
Hi,  How to replace the link "//" with sanny builder
 

Attachments

  • EH9(T9866G[]FU4PR1IO{QU.png
    EH9(T9866G[]FU4PR1IO{QU.png
    5.8 KB · Views: 122
  • 11X9KH6~K_U_{IUE@S@WDGW.png
    11X9KH6~K_U_{IUE@S@WDGW.png
    4.8 KB · Views: 55

Rough

Active member
Joined
Mar 7, 2015
Messages
42
Reaction score
4
I think you will need to translate that link into hex http://www.unit-conversion.info/texttools/hexadecimal/ and then pute those number there instead of the link, like.

:Test
0AC6: 1@ = label @Test_2 offset
0B3B: samp show_dialog id 7777 caption "Title" text 1@ button_1 "Close" button_2 "" style 0
0B43: samp cmd_ret

:Test_2
hex
68 74 74 70 3a 2f 2f 6c 69 6e 6b 2e 68 68 74 6a 69 6d 2e 63 6f 6d 2f 31 36 33 2f 34 34 36 36 37 37 35 2e 6d 70 33 // i translated the link for you, good luck!
end


I'm sure @springfield will know what to do,

have a good day!
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Another alternative is to format the string.

[shcode=cpp]
 alloc 0@ = 260
 format 0@ "http:%c%clink.com%cmp3.txt" 0x2f 0x2f 0x2f //0x2f = /
 0B4B: samp set_current_dialog_editbox_text 0@
 free 0@
[/shcode]
 
Status
Not open for further replies.
Top