What need to add that dont insert into MySQL for example /cp /tp and so on. I trying
Quote:
if (message != '/cp' && message != '/tp') {
format(query,1000,"INSERT into %s (name,authid,ip,alive,team,date,time,message, cmd) values ('%s','%s','%s','%d','%s','%s','%s','%s','%s' )",table,name,authid,ip,is_user_alive(id),TEA MNAME[_:team],datestr,timestr,message,cmd)
}
|
and get errors like:
Error: Invalid character constant on line 99
Error: Undefined symbol "cp" on line 99
Error: Undefined symbol "tp" on line 99
Warning: Loose indentation on line 98
I'm totaly newbie on amxx scripting :/