CLEO Help Is it possible to spawn a dialog?

CLEO related
Status
Not open for further replies.

NoyCohen111

New member
Joined
Apr 28, 2014
Messages
3
Reaction score
0
Hey

My question is - is it possible to spawn a server-sided dialog?

I mean if I want to spawn a server sided dialog (lets say I know his dialog id)

Is it possible by cleo/sampfuncs?

Another question - how to send responses to server sided dialog? Lets say a server sided dialog with 3 options, and I want to choose one and send it..


thank you!
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
NoyCohen111 said:
Hey

My question is - is it possible to spawn a server-sided dialog?

I mean if I want to spawn a server sided dialog (lets say I know his dialog id)

Is it possible by cleo/sampfuncs?

Another question - how to send responses to server sided dialog? Lets say a server sided dialog with 3 options, and I want to choose one and send it..


thank you!

It's possible, but the server needs to send you a dialog first then you can use that opcode to answer it.
 

Ravenous

Active member
Joined
Jan 21, 2016
Messages
61
Reaction score
4
Opcode.eXe said:
0BC9: samp send_dialog_response dialog 0@ button 1@ listitem 2@ input 3@

Find out the dialog ID

How to find out the id? I tried using 0B4E: samp 1@ = get_current_dialog_id but it just returns 0.
 

Infam0s

Active member
Joined
Apr 2, 2016
Messages
66
Reaction score
0
Ravenous said:
How to find out the id? I tried using 0B4E: samp 1@ = get_current_dialog_id but it just returns 0.

Some s0beits have that function, I don't know which m0d has this function (cuz I've mine s0b), but you can test them out.
LINK --> http://ugbase.eu/Forum-m0d-s0beit-Projects
 

Ravenous

Active member
Joined
Jan 21, 2016
Messages
61
Reaction score
4
EntityForceX said:
Ravenous said:
How to find out the id? I tried using 0B4E: samp 1@ = get_current_dialog_id but it just returns 0.

Some s0beits have that function, I don't know which m0d has this function (cuz I've mine s0b), but you can test them out.
LINK --> http://ugbase.eu/Forum-m0d-s0beit-Projects
I tried like 3 and none seem to have that option :( my problem is that the sf opcode always returns 0  or 1
 
Status
Not open for further replies.
Top