02.03.2015, 12:02
cause playerid never used ?
Show me OnNPCModeInit function
pawn Код:
stock playermdisconnect(playerid, discmcc[])
{
#pragma unused playerid
new File:lFile = fopen("/SERVER/Logs/Player/disconnect.txt", io_append), logData[178];
format(logData, sizeof(logData),"%s \r\n", discmcc);
fwrite(lFile, logData);
fclose(lFile);
return 1;
}