#include <a_samp>
#include <zcmd>
#include <YSI\y_ini>
new Admin[MAX_PLAYERS];
CMD:makemeadmin(playerid, params[])
{
Admin[playerid] = 1;
new INI:File = INI_Open(Path(playerid));
INI_SetTag(File, "Cf");
INI_WriteInt(File, "Admin", 1);
INI_Close(File);
SendClientMessage(playerid, -1, "Saved.");
return 1;
}
CMD:admin(playerid, params[])
{
new string[144];
format(string, sizeof(string), "{FF0000}ADMIN: %d", Admin[playerid]);
SendClientMessage(playerid, -1, string);
return 1;
}
public OnPlayerConnect(playerid)
{
if(fexist(Path(playerid)))
{
INI_ParseFile(Path(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
}
return 1;
}
stock Path(playerid)
{
new name[MAX_PLAYER_NAME], string[50];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Jucatori/%s.ini", name);
return string;
}
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Admin", Admin[playerid]);
return 1;
}
[21:51:01] [debug] Server crashed due to an unknown error
[21:51:01] [debug] System backtrace:
[21:51:01] [debug] #0 00403684 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #1 0048b527 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #2 004877cb in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #3 00496281 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #4 00496291 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #5 ffc30000 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #6 e8042474 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #7 ffffffbf in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #8 c01bd8f7 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #9 4859d8f7 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #10 247c83c3 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #11 06740008 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #12 412d01c6 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #13 8b56d8f7 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #14 f7d233f1 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #15 83082474 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #16 057609fa in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #17 eb57c280 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #18 30c28003 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #19 85411188 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #20 c6e677c0 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #21 8a490001 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #22 88018a16 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #23 06884911 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #24 72f13b46 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #25 55c35ef2 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #26 7d83ec8b in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #27 458b0a10 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #28 850a7508 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #29 6a067dc0 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #30 eb0a6a01 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #31 ff006a05 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #32 4d8b1075 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #33 ff9fe80c in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #34 458bffff in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #35 5d59590c in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #36 244c8bc3 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #37 24448b08 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #38 ff006a04 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #39 e8102474 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #40 ffffff85 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #41 1024448b in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[21:51:01] [debug] #42 e8c35959 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
-d3 |
If you're using pawno, in Build -> Run options under "with these parameters:" set it to
, and run the gamemode, then paste the crash log. |
--------------------------
SA-MP Server: 0.3z
Exception At Address: 0x004877CB Module: (samp-server.exe)
Registers:
EAX: 0x000026C2 EBX: 0x00000000 ECX: 0x000013DD EDX: 0x046CB08C
ESI: 0x028A7990 EDI: 0x00000072 EBP: 0x00000000 ESP: 0x0018FE38
EFLAGS: 0x00010287
Stack:
+0000: 0x00000000 0x00001DB1 0x0018FF88 0x7EFDE000
+0010: 0x0000E000 0x00010101 0x00000032 0x00001E61
+0020: 0x000000E4 0x000013C4 0x02048F40 0x656D6167
+0030: 0x65646F6D 0x00003531 0x004BC014 0x004BC010
+0040: 0x7EFDE000 0x004A6140 0x0018FE70 0x0018FF78
+0050: 0x0018FF78 0x00497FE8 0x004B2E98 0xFFFFFFFF
+0060: 0x00496281 0x00496291 0x004A6140 0x0018FF78
+0070: 0x004A5DB1 0xFFFFFFFF 0x00497A86 0x00000001
+0080: 0x020414C0 0x02041510 0x00000094 0x00000006
+0090: 0x00000001 0x00001DB1 0x00000002 0x76726553
+00A0: 0x20656369 0x6B636150 0x00003120 0x00000000
+00B0: 0x00000000 0x00000000 0x00000000 0x00000000
+00C0: 0x00000000 0x00000000 0x00000000 0x00000000
+00D0: 0x00000000 0x00000000 0x00000000 0x00000000
+00E0: 0x00000000 0x00000000 0x00000000 0x00000000
+00F0: 0x00000000 0x00000000 0x00000000 0x00000000
+0100: 0x00000000 0x00000000 0x00000000 0x00000000
+0110: 0x00000000 0x00000000 0x00497932 0x00000000
+0120: 0x00000000 0x7EFDE000 0x00000000 0x00000000
+0130: 0xC0000005 0x00000000 0x0018FEC0 0x0018F810
--------------------------
Loaded Modules:
samp-server.exe A: 0x00400000 - 0x004F5000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe)
ntdll.dll A: 0x77BC0000 - 0x77D40000 (C:\Windows\SysWOW64\ntdll.dll)
kernel32.dll A: 0x76700000 - 0x76810000 (C:\Windows\syswow64\kernel32.dll)
KERNELBASE.dll A: 0x76160000 - 0x761A7000 (C:\Windows\syswow64\KERNELBASE.dll)
SHELL32.dll A: 0x76A10000 - 0x7765A000 (C:\Windows\syswow64\SHELL32.dll)
msvcrt.dll A: 0x765E0000 - 0x7668C000 (C:\Windows\syswow64\msvcrt.dll)
SHLWAPI.dll A: 0x75A20000 - 0x75A77000 (C:\Windows\syswow64\SHLWAPI.dll)
GDI32.dll A: 0x75C80000 - 0x75D10000 (C:\Windows\syswow64\GDI32.dll)
USER32.dll A: 0x764E0000 - 0x765E0000 (C:\Windows\syswow64\USER32.dll)
ADVAPI32.dll A: 0x76810000 - 0x768B0000 (C:\Windows\syswow64\ADVAPI32.dll)
sechost.dll A: 0x75B90000 - 0x75BA9000 (C:\Windows\SysWOW64\sechost.dll)
RPCRT4.dll A: 0x76280000 - 0x76370000 (C:\Windows\syswow64\RPCRT4.dll)
SspiCli.dll A: 0x75550000 - 0x755B0000 (C:\Windows\syswow64\SspiCli.dll)
CRYPTBASE.dll A: 0x75540000 - 0x7554C000 (C:\Windows\syswow64\CRYPTBASE.dll)
LPK.dll A: 0x75BB0000 - 0x75BBA000 (C:\Windows\syswow64\LPK.dll)
USP10.dll A: 0x75750000 - 0x757ED000 (C:\Windows\syswow64\USP10.dll)
WSOCK32.dll A: 0x72050000 - 0x72057000 (C:\Windows\system32\WSOCK32.dll)
WS2_32.dll A: 0x75A80000 - 0x75AB5000 (C:\Windows\syswow64\WS2_32.dll)
NSI.dll A: 0x75800000 - 0x75806000 (C:\Windows\syswow64\NSI.dll)
WINMM.dll A: 0x74B90000 - 0x74BC2000 (C:\Windows\system32\WINMM.dll)
IMM32.DLL A: 0x766A0000 - 0x76700000 (C:\Windows\system32\IMM32.DLL)
MSCTF.dll A: 0x776F0000 - 0x777BC000 (C:\Windows\syswow64\MSCTF.dll)
nvinit.dll A: 0x75140000 - 0x7516C000 (C:\Windows\SysWOW64\nvinit.dll)
detoured.dll A: 0x0F000000 - 0x0F006000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll)
nvd3d9wrap.dll A: 0x749E0000 - 0x74A0C000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll)
SETUPAPI.dll A: 0x755B0000 - 0x7574D000 (C:\Windows\syswow64\SETUPAPI.dll)
CFGMGR32.dll A: 0x76120000 - 0x76147000 (C:\Windows\syswow64\CFGMGR32.dll)
OLEAUT32.dll A: 0x77660000 - 0x776EF000 (C:\Windows\syswow64\OLEAUT32.dll)
DEVOBJ.dll A: 0x769F0000 - 0x76A02000 (C:\Windows\syswow64\DEVOBJ.dll)
nvdxgiwrap.dll A: 0x74AF0000 - 0x74B10000 (C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll)
MSVCP100.dll A: 0x71460000 - 0x714C9000 (C:\Windows\system32\MSVCP100.dll)
MSVCR100.dll A: 0x6FF00000 - 0x6FFBF000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\MSVCR100.dll)
TDE.DLL A: 0x70EA0000 - 0x70EBB000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\plugins\TDE.DLL)
MSVCR100D.dll A: 0x6DD50000 - 0x6DEC3000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\MSVCR100D.dll)
sscanf.DLL A: 0x10000000 - 0x1000C000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\plugins\sscanf.DLL)
streamer.DLL A: 0x704E0000 - 0x7051F000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\plugins\streamer.DLL)
YSF.DLL A: 0x02250000 - 0x02307000 (C:\Users\USER\Desktop\Programe\Textdraw-uri\plugins\YSF.DLL)
PSAPI.DLL A: 0x77B90000 - 0x77B95000 (C:\Windows\syswow64\PSAPI.DLL)
MSVCP110.dll A: 0x02430000 - 0x024B5000 (C:\Windows\system32\MSVCP110.dll)
MSVCR110.dll A: 0x6DF70000 - 0x6E046000 (C:\Windows\system32\MSVCR110.dll)
mswsock.dll A: 0x74DE0000 - 0x74E1C000 (C:\Windows\system32\mswsock.dll)
wshtcpip.dll A: 0x72060000 - 0x72065000 (C:\Windows\System32\wshtcpip.dll)
NLAapi.dll A: 0x71780000 - 0x71790000 (C:\Windows\system32\NLAapi.dll)
napinsp.dll A: 0x71700000 - 0x71710000 (C:\Windows\system32\napinsp.dll)
pnrpnsp.dll A: 0x716E0000 - 0x716F2000 (C:\Windows\system32\pnrpnsp.dll)
DNSAPI.dll A: 0x741B0000 - 0x741F4000 (C:\Windows\system32\DNSAPI.dll)
winrnr.dll A: 0x70E40000 - 0x70E48000 (C:\Windows\System32\winrnr.dll)
IPHLPAPI.DLL A: 0x74210000 - 0x7422C000 (C:\Windows\system32\IPHLPAPI.DLL)
WINNSI.DLL A: 0x74200000 - 0x74207000 (C:\Windows\system32\WINNSI.DLL)
rasadhlp.dll A: 0x71560000 - 0x71566000 (C:\Windows\system32\rasadhlp.dll)
[13:26:01] [debug] Server crashed due to an unknown error
[13:26:01] [debug] System backtrace:
[13:26:01] [debug] #0 00403684 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[13:26:01] [debug] #1 0048b527 in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe
[13:26:01] [debug] #2 004877cb in ?? () from C:\Users\USER\Desktop\Programe\Textdraw-uri\samp-server.exe