SA-MP Forums Archive
Random in Dialog - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Random in Dialog (/showthread.php?tid=644967)



Random in Dialog - homelessdrop - 17.11.2017

Hi.
My question is the next. so, i do a drug system to my server and i missing a random function, this is the price. the entered code is generate 1 random "ShowPlayerDialog" which is contains a DIALOG_STYLE_MSGBOX which is prints the drug's name and the price. i wanna query the same value at "if(dialogid == xyz)" as MSGBOX shows. my english is a little bit bad but i hope u guys understand what i wanna say. Maybe someone help?


Re: Random in Dialog - wnn0822 - 18.11.2017

someone can help this guy?