I would like to take a array of rules I have and join them together to display them on the screen as a hud message. What would be the best way to do this. Here is an example.
amxx.cfg
Code:
amx_addrule "Respect the Admins"
amx_addrule "No Team Killing"
Displayed to the user upon team select in a tsay type message in the top left of the screen.
Code:
Server Rules
1. Respect the Admins
2. No Team Killing
I tried looping through with each line as a new hud message and on a different channel but I think there must be a better way.
I have everything working except the joining of the strings and displaying on the screen part.
Thanks for your help.