25.07.2015, 07:42
Hey, i have problem with making admin logs
and here is error
PHP код:
stock AdminLog(playerid[], playerb[], tegevus[], p6hjus[])
{
new Query[100];
new hour, minute, second, year, month, day;
getdate(year, month, day);
gettime(hour, minute, second);
(line 232) -> format(Query, sizeof(Query), "INSERT INTO `admin_logs` (`Admin`, `Player`, `Tegevus`, `Pхhjus`, `Kuu`, `Kell`) VALUES('%s', '%s', '%s', '%s', '%d/%d/%d', '%d:%d:%d')", RPN(playerid), RPN(playerb), tegevus, p6hjus, month, day, year, hour, minute, second);
(line 233) -> mysql_query(Query);
}
Код:
(232) : error 035: argument type mismatch (argument 1) (233) : error 035: argument type mismatch (argument 1)