How do I do this with MySQL and Dialogs? - 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: How do I do this with MySQL and Dialogs? (
/showthread.php?tid=501707)
How do I do this with MySQL and Dialogs? -
Dokins - 19.03.2014
** I CANNOT FIND THE SCRIPTING RELATED QUESTIONS SECTION SO I APOLOGISE IF THIS IS IN THE WRONG ONE AND WOULD APPRECIATE IF YOU COULD MOVE IT ACCORDINGLY**
Hi there, basically I'm trying to do this but am not sure how to....
Basically, a table in mysql I'm trying to retrieve the last/latest 10 rows of an arrest record..from then how can I put it into a LIST DIALOG...
Do I have to do this 10 times or is there another way so it only creates the amount of list items needed?
pawn Код:
switch(listitem)
{
case 0:
{
}
case 1:
{
}
case 2:
{
}
case 3:
{
}
}
//ETC
Any advice and pointers would be great!
Re: How do I do this with MySQL and Dialogs? -
Sascha - 19.03.2014
https://sampforum.blast.hk/showthread.php?tid=501705
Re: How do I do this with MySQL and Dialogs? -
Carac - 19.03.2014
Close this please, he made a second thread aswell.