ShowPlayerDialog list showing players - 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: ShowPlayerDialog list showing players (
/showthread.php?tid=462789)
ShowPlayerDialog list showing players -
Mennims - 08.09.2013
I have a dialog list, and I want one of the selections on the list to display how many players are in that room. For example, I want it to show like this
Room1 (13/34).
The 13 showing how many people are in a room. So if the person want's to choose a room on that list he can see how full it is, please how would I do this, even tell me how I could use a variable to display in it. Please
Re: ShowPlayerDialog list showing players -
[HK]Ryder[AN] - 08.09.2013
loop through all the players
if you find a player in that room, increment a variable
at the end of the loop, format the dialog's text to show that
Re: ShowPlayerDialog list showing players -
Lidor124 - 08.09.2013
Show us your codes