19.05.2011, 17:31
I has script my stock
example how use:
What is wrong? I dont have informations in mysql database !
pawn Код:
stock Log(command[], action[])
{
new Query[200];
mysql_real_escape_string(action, action);
format(Query, sizeof Query, "INSERT INTO `logs` (`Event`, `Details`) VALUES ('%s', '%s')", command, action);
mysql_query(Query);
}
Код:
Log("MakeAdmin", string);