Csáó most tanulom a mysql mentést de amikor beírom a parancsot akkor hiba
parancs:  
if(strcmp(cmd, \"/újfrakció\", true) == 0)
{
if(params < 2)
{
   Msg(playerid, \"/újfrakció id név\");
   return 1;
}
new id = strval(param[1]);
if(strlen(param[2]) > 24) return Msg(playerid,\"Max 24 karakter!\");
    ujfrakcio(id,param[2]);
    return 1;
}
 stock: 
stock ujfrakcio(tipus,nev[])
{
new asd[24];
Format(asd,\"%s\",nev);
new query[512];
Format(query, \"INSERT INTO \'frakcio\' (Id, tulaj) VALUES(\'%d\', \'%s\')\",tipus, asd);
mysql_query(query);
}
 Mysql tábla:
CREATE TABLE IF NOT EXISTS `frakcio` (
  `Id` int(11) NOT NULL,
  `Tulaj` varchar(24) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;