Was ist daran falsch ?
stock Float:mysql_GetFloat(Table[], Field[], Where[], Is[])// Fehlerhafte Zeile SL_RL.pwn(3033) : warning 208: function with tag result used before definition, forcing reparse
{
new query[128], Float:sqlfloat;
mysql_real_escape_string(Table, Table);
mysql_real_escape_string(Field, Field);
mysql_real_escape_string(Where, Where);
mysql_real_escape_string(Is, Is);
format(query, 128, "SELECT `%s` FROM `%s` WHERE `%s` = '%s'", Field, Table, Where, Is);
mysql_query(query);
mysql_store_result();
mysql_fetch_float(sqlfloat);
mysql_free_result();
return sqlfloat;
}
Mit freundlichen Grüßen,
Mohamed_El