CLEO Help Calling dialogs by ID?

CLEO related
Status
Not open for further replies.

qweasdz

Active member
Joined
Nov 4, 2014
Messages
147
Reaction score
7
Hey, is it possible to call out an dialog by ID? What i mean is, it would be similar like textdraws, if you know the ID of it, you can call it whenever you want. I want the exact thing like textdraws, but with dialogs. Pls don't suggest dialog hider lmao, thanks!

(PS. And if its possible, how could i get the ID of the dialog?)
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
You can't really properly call dialog because SA-MP don't predefine which dialog ID will have what text, and easyDialog include in most of good scripts have only one ID for all dialogs, the include keeps a tracking of what dialog was shown to player and responds accordingly so it cant be faked.

This would work on a really simple script, you need to know the dialog info/text, it's yes button name and cancel button to really fake it.
If it's a dialog e.g. "You caught a fish x kg", changing text would do nothing btw.
 
Status
Not open for further replies.
Top