28.02.2019, 13:29
mysql_format(mysql, szQuery, 256, "INSERT INTO `clans` (`Name`) VALUES ('%e')", inputtext);
new Cache: result = mysql_query(mysql, szQuery);
new i = cache_insert_id();
cache_delete(result);
PlayerInfo[playerid][pClanid] = i;
this is not inserting a new clan id in the database,i create a clan for the first time and it creates a clan id 0 in the database and that's it,if i try to create anotherone the data base only has the first one;
new Cache: result = mysql_query(mysql, szQuery);
new i = cache_insert_id();
cache_delete(result);
PlayerInfo[playerid][pClanid] = i;
this is not inserting a new clan id in the database,i create a clan for the first time and it creates a clan id 0 in the database and that's it,if i try to create anotherone the data base only has the first one;