MYSQL admin logs
#1

Hey, i have problem with making admin logs

PHP код:
stock AdminLog(playerid[], playerb[], tegevus[], p6hjus[])
{
    new 
Query[100];
    new 
hourminutesecondyearmonthday;
    
getdate(yearmonthday);
    
gettime(hourminutesecond);
(
line 232) ->    format(Querysizeof(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), tegevusp6hjusmonthdayyearhourminutesecond);
 (
line 233) -> mysql_query(Query);

and here is error
Код:
(232) : error 035: argument type mismatch (argument 1)
(233) : error 035: argument type mismatch (argument 1)
Reply


Messages In This Thread
MYSQL admin logs - by Eestlane123 - 25.07.2015, 07:42
AW: MYSQL admin logs - by Mencent - 25.07.2015, 07:47
Re: MYSQL admin logs - by Eestlane123 - 25.07.2015, 08:09
AW: MYSQL admin logs - by Mencent - 25.07.2015, 08:11
Re: MYSQL admin logs - by Belengher - 25.07.2015, 09:28
AW: Re: MYSQL admin logs - by Mencent - 25.07.2015, 09:32
Re: MYSQL admin logs - by Eestlane123 - 25.07.2015, 19:31
AW: MYSQL admin logs - by Mencent - 25.07.2015, 19:40
Re: MYSQL admin logs - by Eestlane123 - 25.07.2015, 20:32
AW: MYSQL admin logs - by Mencent - 25.07.2015, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)