21.06.2016, 16:33
Quote:
You must set the permissions to 777, so it will manage to write into the file
There is an option to filezilla with right click, you will find it then set it to 777 |
Quote:
It's crashing on fwrite so maybe the file doesn't exist try this...
PHP код:
|
PHP код:
[18:09:04] fclose inc.
[18:09:04] [debug] Server crashed while executing dmsystem.amx
[18:09:04] [debug] AMX backtrace:
[18:09:04] [debug] #0 native fclose () from samp-server.exe
[18:09:04] [debug] #1 00029d1c in ?? (17393428, 17393828, 17393884, 17393912, 17413044) from dmsystem.amx
[18:09:04] [debug] #2 0002944c in ?? (0, 17413044) from dmsystem.amx
[18:09:04] [debug] #3 00022d80 in public cmd_resetsetdata (0, 17397024) from dmsystem.amx
[18:09:04] [debug] #4 native CallLocalFunction () from samp-server.exe
[18:09:04] [debug] #5 00000664 in public OnPlayerCommandText (0, 17396960) from dmsystem.amx
[18:09:04] [debug] Native backtrace:
[18:09:04] [debug] #0 0049939b in ?? () from samp-server.exe
[18:09:04] [debug] #1 004056cd in ?? () from samp-server.exe
[18:09:04] [debug] #2 637b62ca in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #3 637b8b28 in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #4 637b09c7 in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #5 637b631a in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #6 004746be in ?? () from samp-server.exe
[18:09:04] [debug] #7 004010b6 in ?? () from samp-server.exe
[18:09:04] [debug] #8 637b62ca in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #9 637b8b28 in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #10 637b09c7 in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #11 637b631a in ?? () from plugins\crashdetect.dll
[18:09:04] [debug] #12 0046b168 in ?? () from samp-server.exe
Quote:
Код:
new File:pos=fopen(file, io_append); pawn Код:
pawn Код:
|
Thanks all for your help.