[Help] Make reading my server administrators
#1

Hello, wanted to know how I can perform a reading of all managers having my server actually do ZCMD a command, but to work with users who are offline, use Y_INI.

When I use the call, something ago to have an example:

Код:
	format( PlayerFile , sizeof PlayerFile, "accounts/%s.ini", accountName);
    new INI:File = INI_Open(PlayerFile);
    INI_SetTag(File,"data");
Reply
#2

Loop through all users, check their admin level and do whatever you want after that. I'm not sure how to loop through all users in Y_INI, but in MySQL it's extremely simple.
Reply
#3

Quote:
Originally Posted by SKAzini
Посмотреть сообщение
Loop through all users, check their admin level and do whatever you want after that. I'm not sure how to loop through all users in Y_INI, but in MySQL it's extremely simple.
------------------------------------------------------------------------------------------------------------------

Thank you, but my server has INI that I have bad luck, thanks for the intention.
Reply
#4

I believe that you can't even do it in ini.. Sorry you might need to convert your accounts system to mysql.
Reply
#5

Quote:
Originally Posted by Stanford
Посмотреть сообщение
I believe that you can't even do it in ini.. Sorry you might need to convert your accounts system to mysql.
------------------------------------------------------------------------------------------------------------------

It would be very difficult to move my accounts to mysql? remember that I have saved in INI and DINI. Is it only would the bills?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)