AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   an SQL issue (somewhat) (https://forums.alliedmods.net/showthread.php?t=60855)

djh 09-14-2007 15:34

an SQL issue (somewhat)
 
hello,
is it possible to parse an sql result and get to the nextrow only if some user presses a bound key or smth?
IE: while (sql_moreresults(query)) { do_stuff(); wait till user presses F11; slq_nextrow(query) } ?

Roach 09-14-2007 22:40

Re: an SQL issue (somewhat)
 
Hey, this isnt an AMXx related support issue! This is a coding help issue.

Moved to correct forum. Next time I'm deleting your thread.

djh 09-15-2007 04:35

Re: an SQL issue (somewhat)
 
I am really sorry, I posted it last night and I was tired.
Thank you for not deleting the thread.

Roach 09-15-2007 18:13

Re: an SQL issue (somewhat)
 
No problems...happens to everyone once and a while.

djh 09-16-2007 13:14

Re: an SQL issue (somewhat)
 
:( no ideeas ?

purple_pixie 09-19-2007 08:19

Re: an SQL issue (somewhat)
 
You could get all the rows, then put them into a player array.
The player could cycle through the array on button press.

If you waited as implied by your first code, the game would hang until the player pressed the button ...


All times are GMT -4. The time now is 16:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.