28.10.2016, 21:06
Here's some advice:
- cache_get_data is redundant when you have cache_get_row_count:
PHP код:for(new row, rows = cache_get_row_count(); row < rows; i++)
- Do not declare variables inside a loop.
- Add all retrieved names to one variable and then use that string in the dialog.
- The previous tip means that you will have to move ShowPlayerDialog to outside the loop.
- Put a value in pName first before using it somewhere.

