13.09.2011, 22:16
pawn Код:
MySQL_SetFloat(sqlid, fieldname[], Float:value, tablename[])
{
new query[256];
format(query, sizeof(query), "UPDATE %s SET %s = %f WHERE id = %d LIMIT 1", tablename, fieldname, value, sqlid);
return mysql_query(query);
}