21.10.2013, 23:07
Код:
forward AdminLogs(string[]); public AdminLogs(string[]); { new a_msg[200]; format(a_msg,sizeof (a_msg),"%s",string); new File:hFile; hFile = fopen("/S_logs/Admin_Logs", io_append); fwirte(hFile, a_msg); fclose(hFile); }
PHP код:
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(232) : error 055: start of function body without function header
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(234) : error 021: symbol already defined: "format"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(236) : error 010: invalid function or declaration
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(238) : error 021: symbol already defined: "fclose"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(241) : warning 203: symbol is never used: "a_msg"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(241) : warning 203: symbol is never used: "hFile"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.