12.02.2014, 13:35
can i make /admins to get online + offline admins ?
cause ma command get online only admins.
cause ma command get online only admins.
new File:list = fopen("list.log", io_read);
while(fread(list, string))
{
//maybe something to remove the extension of your file
if(strval(dUser(string).("adminlevel")) != 0) print(string);
}
fclose(list);
With a file-based system you can list all the file in your users directory to a text file (dir /B >> list.log with Windows cmd), then open this list and read line by line every username like this:
pawn Код:
|