CLEO Help How to type in a dialog box?

CLEO related
Status
Not open for further replies.

0dmg

Active member
Joined
Jun 20, 2013
Messages
30
Reaction score
0
Yeah, I am currently producing a very nice script, I am missing one thing though. I need to be able to type into a dialog box. Any help will be greatly appreciated, thanks in advance!
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
if you want other players to see what you typed, choose the one below :arrow: :arrow::arrow:
Code:
0AF9: samp say_msg "I AM NOOB! LOL"
If you want the text to be seen by only you, choose the one below :arrow: :arrow::arrow:
Code:
0AF8: samp add_message_to_chat "cheat activated" color 0xF5DEB3
 

.silent

Well-known member
Joined
Apr 14, 2013
Messages
339
Reaction score
13
Hmm I think he meant to type to a box like when registering/logging in in some servers
 

0dmg

Active member
Joined
Jun 20, 2013
Messages
30
Reaction score
0
Think I found something, but it looks like it can only be used to check the dialog box, not respond to it....
Code:
 0B3C: samp dialog_respond 5 button 0 @ list_item 1 @ input_text 2 @ / / Check whether the dialogue is closed and returns all of the input parameters / / Output: 0 @ - going down buttons (1 - left, 2 - right), 1 @ - the selected item from the list (returns -1 if the dialog has no elements) @ 2 - the text that was entered in the input box.
- From sampfuncs
Any ideas?
 
Status
Not open for further replies.
Top