CLEO Help Help please

CLEO related
Status
Not open for further replies.

Edvincik

Well-known member
Joined
Mar 15, 2016
Messages
399
Reaction score
26
Hi guys i need to know how to detect those numbers in red box and add them to blue box if its possible



@springfield
@supahdupahnubah
@monday
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
0BD7: samp get_dialog_text 0@ -> 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@
 

Edvincik

Well-known member
Joined
Mar 15, 2016
Messages
399
Reaction score
26
supahdupahnubah said:
0BD7: samp get_dialog_text 0@ -> 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@

Thanks man
i understood that 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@
But i am not sure about 0BD7: samp get_dialog_text 0@ can you explain a bit more about that,because i dont really understand how i can get only those numbers?
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
Edvincik said:
supahdupahnubah said:
0BD7: samp get_dialog_text 0@ -> 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@

Thanks man
i understood that 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@
But i am not sure about 0BD7: samp get_dialog_text 0@ can you explain a bit more about that,because i dont really understand how i can get only those numbers?

It is parses dialog text box into string variable, the only thing left to do is format it, if text is always stable (before the number part) you can simply get your nickname length (in case this white censor is your nickname inside this box), skip %nickname_length% + %stable_text_length% with 0@ += operation, and then get those 3 numbers with formatting opcodes, should be enough to solve your problem, rest is on you and that guy called google
 

iVilux

Well-known member
Joined
Nov 12, 2013
Messages
207
Reaction score
5
supahdupahnubah said:
Edvincik said:
supahdupahnubah said:
0BD7: samp get_dialog_text 0@ -> 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@

Thanks man
i understood that 0B4B: samp set_current_dialog_editbox_text "dank memes" -> 0B47: samp close_current_dialog_with_button 0@
But i am not sure about 0BD7: samp get_dialog_text 0@ can you explain a bit more about that,because i dont really understand how i can get only those numbers?

It is parses dialog text box into string variable, the only thing left to do is format it, if text is always stable (before the number part) you can simply get your nickname length (in case this white censor is your nickname inside this box), skip %nickname_length% + %stable_text_length% with 0@ += operation, and then get those 3 numbers with formatting opcodes, should be enough to solve your problem, rest is on you and that guy called google

Please, stop helping these faggots.
 

_C1ph3r_

Active member
Joined
Feb 5, 2017
Messages
91
Reaction score
3
Awesome, that would be great if you can make it :)
Now i also have ideas, i will start to work on this.
 
Status
Not open for further replies.
Top