Ajánlott a forráskód kihelyezése is![/quote]Ajánlott, de nem kötelezõ - mielõtt valaki belekötne.Letöltés Windows & Linux: http://www.solidfiles.com/d/3f807dd85f/ A csomag tartalma plugins/fixchars.dllplugins/fixchars.so Telepítés Bontsd ki a csomagot a szervered fõmappájábaAdd hozzá a server.cfg plugins bejegyzéséhez a fixchars.dll-t Windows, a fixchars.so-t pedig Linux eseténMûködik, nincs további teendõd! :)
new chlist[][0]={\"¨\",\"‘\",\"ö\",\"Ö\", \"¬\",\"\",\"ü\",\"Ü\",\"¦\",\"¬\",\"ó\",\"Ó\",\"§\",\"\",\"õ\",\"Õ\",\"ª\",\"“\",\"ú\",\"Ú\",\"¾\",\"‡\",\"é\",\"É\",\"˜\",\"\",\"á\",\"Á\",\"«\",\"·\",\"û\",\"Û\",\"¢\",\"‹\",\"í\",\"Í\"};stock FixGameString(const string[]){new index, dest[256];strmid(dest, string, 0, strlen(string), sizeof dest);for(index = 0; index < strlen(dest); index++){for(new idx = 0; idx < sizeof(chlist); idx++){ if(dest[index] == chlist[idx][0]) { dest[index] = chlist[idx-2][0]; }}}return dest;}
Akkor most ennek segítségével ékezetessé tehetem a textdrawokat?
[14:25:32] [debug] Server crashed while executing sp.amx[14:25:32] [debug] AMX backtrace:[14:25:32] [debug] #0 native CreatePlayerTextDraw () [73a71df0] from fixchars.DLL[14:25:32] [debug] #1 00003d00 in public OnPlayerConnect (0x00000000) from sp.amx[14:25:32] [debug] Native backtrace:[14:25:32] [debug] #0 77547479 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #1 7756a5c1 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #2 775135a7 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #3 77513492 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #4 763f14dd in ?? () from C:\\Windows\\syswow64\\kernel32.dll[14:25:32] [debug] #5 6b85016a in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\MSVCR100.dll[14:25:32] [debug] #6 73a71f22 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\fixchars.DLL[14:25:32] [debug] #7 004010b6 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe[14:25:32] [debug] #8 6dba60ba in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #9 6dba7fee in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #10 6dba0091 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #11 6dba610a in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #12 0046a25f in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe[14:25:32] [debug] #13 00465dbd in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe
Bump: Nem mûködik player textdrawok esetében, kifagyasztja a szervert.Bizonyíték avagy crashdetect: [14:25:32] [debug] Server crashed while executing sp.amx[14:25:32] [debug] AMX backtrace:[14:25:32] [debug] #0 native CreatePlayerTextDraw () [73a71df0] from fixchars.DLL[14:25:32] [debug] #1 00003d00 in public OnPlayerConnect (0x00000000) from sp.amx[14:25:32] [debug] Native backtrace:[14:25:32] [debug] #0 77547479 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #1 7756a5c1 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #2 775135a7 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #3 77513492 in ?? () from C:\\Windows\\SysWOW64\\ntdll.dll[14:25:32] [debug] #4 763f14dd in ?? () from C:\\Windows\\syswow64\\kernel32.dll[14:25:32] [debug] #5 6b85016a in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\MSVCR100.dll[14:25:32] [debug] #6 73a71f22 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\fixchars.DLL[14:25:32] [debug] #7 004010b6 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe[14:25:32] [debug] #8 6dba60ba in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #9 6dba7fee in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #10 6dba0091 in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #11 6dba610a in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\plugins\\crashdetect.DLL[14:25:32] [debug] #12 0046a25f in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe[14:25:32] [debug] #13 00465dbd in ?? () from D:\\Jatékok\\GTA San Andreas\\GTA San Andreas[100%CLEAN] Torrent\\PAWNO\\samp-server.exe