Posts: 62
Threads: 14
Joined: Mar 2008
Reputation:
0
I tried but it went wrong. if someone can help me, thank you!
Example, i have a list of admins in my db, and i want show in the server on /listadmins
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
Are you sure to know how to use MySQL ? (or just SQL, it's the BASICS of the language)
Use a SELECT query, use cache_num_rows as a maximum to your for loop then display the player names you would have gotten from the SELECT query using cache_get_field_content or cache_get_row using your loop variable as row index.
Posts: 62
Threads: 14
Joined: Mar 2008
Reputation:
0
So. Firstly thank you for being here.
Well, sorry, MySQL
in my attempts the most I could get was, showing the amount of admins who was in the table. The name, with level etc.. not returned. did not show. i used SendClientMessage, Printf to show but, dont works..
sorry my english
Posts: 62
Threads: 14
Joined: Mar 2008
Reputation:
0
05.07.2014, 00:05
(
Последний раз редактировалось iryston; 05.07.2014 в 01:12.
)
I got it! now worked
Thank you so much!
++REP