28.06.2011, 17:05
ok, i have problem, i made command that crash server to test plugin...
command is between lines 69246 and 69252, i compiled script on windows xp, and tested on my linux vps...
strange thing is when i type command and crash server, when i look in server.log it says that error is fread on line 8624 in script... i try with -d2 and -d3, same problem...
so reason is good, but line is wrong...
Code:
COMMAND:crash(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1338||!IsPlayerAdmin(playerid)) return 1; new buf[10]; fread(File:123, buf); return 1; }
strange thing is when i type command and crash server, when i look in server.log it says that error is fread on line 8624 in script... i try with -d2 and -d3, same problem...
so reason is good, but line is wrong...