Looping 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: Looping in Dialog ? (
/showthread.php?tid=507029)
Looping in Dialog ? -
iBeast - 15.04.2014
Can I use a loop in a DIALOG_STYLE_LIST ?
What I want is to show the number of flags captured by a specific team...
I mean so I want it like,
1. FlagName
2. FlagName
and so on....like the names(listitems) increase if one is already there....
Re: Looping in Dialog ? -
LocMax - 15.04.2014
I think you can, loop through the flags, check if the flags are owned by the team, if they are then format a string and strcat it with a new line.