CLEO HELP Calling dialogs by ID?

qweasdz

Well-Known Member
Joined
Nov 4, 2014
Messages
144
Likes
9
Points
68
#1
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

Well-Known Member
Joined
May 26, 2014
Messages
853
Likes
39
Points
78
Location
LongForgotten <-> 0x32789
#4
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.
 
Top