I get this error whenever I start the server with this plugin:
"The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll." ![]() Using Windows XP Home Edition 32 bit, Service Pack 3. |
Use this version posted by Zeex in the tenth page:
http://solidfiles.com/d/9ca5/ |
Possibly. I'm doing a script with this plugin to see if it can detect s0b***.
|
stock NumFiles(type2) { new string[50]; if(type2 == 1) format(string, sizeof(string), "Vehicles/normal/"); else if(type2 == 3) format(string, sizeof(string), "Vehicles/personal/"); else if(type2 == 4) format(string, sizeof(string), "Vehicles/faction/"); else if(type2 == 5) format(string, sizeof(string), "Vehicles/job/"); else if(type2 == 6) format(string, sizeof(string), "Vehicles/biz/"); new dir:dHandle = dir_open(string); new item[40], type, contor = -1; while(dir_list(dHandle, item, type)) { if(type == FM_FILE) contor++; } dir_close(dHandle); return contor; }
How may i count files in a folder? I did this and it is not working
![]() Код:
stock NumFiles(type2) { new string[50]; if(type2 == 1) format(string, sizeof(string), "Vehicles/normal/"); else if(type2 == 3) format(string, sizeof(string), "Vehicles/personal/"); else if(type2 == 4) format(string, sizeof(string), "Vehicles/faction/"); else if(type2 == 5) format(string, sizeof(string), "Vehicles/job/"); else if(type2 == 6) format(string, sizeof(string), "Vehicles/biz/"); new dir:dHandle = dir_open(string); new item[40], type, contor = -1; while(dir_list(dHandle, item, type)) { if(type == FM_FILE) contor++; } dir_close(dHandle); return contor; } |
stock NumFiles(type2) { new string[50]; if(type2 == 1) format(string, sizeof(string), "scriptfiles/Vehicles/normal/"); else if(type2 == 3) format(string, sizeof(string), "scriptfiles/Vehicles/personal/"); else if(type2 == 4) format(string, sizeof(string), "scriptfiles/Vehicles/faction/"); else if(type2 == 5) format(string, sizeof(string), "scriptfiles/Vehicles/job/"); else if(type2 == 6) format(string, sizeof(string), "scriptfiles/Vehicles/biz/"); new dir:dHandle = dir_open(string); new item[40], type, contor = -1; while(dir_list(dHandle, item, type)) { if(type == FM_FILE) contor++; } dir_close(dHandle); return contor; }
[16:56:15] Loading plugin: FileManager [16:56:15] Failed. |
backtrace: #0 0xf7db9c94 in readdir () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 No symbol table info available. #1 0xf7c77b42 in n_dir_list(tagAMX*, int*) () from plugins/filemanager.so No symbol table info available. #2 0x08094054 in ?? () No symbol table info available. #3 0x08095af5 in ?? () No symbol table info available. #4 0x080dcea2 in ?? () No symbol table info available. #5 0x08094054 in ?? () No symbol table info available. #6 0x08095af5 in ?? () No symbol table info available. #7 0x080dcea2 in ?? () No symbol table info available. #8 0x08094054 in ?? () No symbol table info available. #9 0x08095af5 in ?? () No symbol table info available. #10 0x080a3a6b in ?? () No symbol table info available. #11 0x080a9e2d in ?? () No symbol table info available. #12 0x080a86d2 in ?? () No symbol table info available. #13 0xf7d33e66 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 No symbol table info available. #14 0x0804b4d1 in ?? () No symbol table info available.