[HELP]Change SQL to NO SQL!
#1

Hey guys, i was just checking a script, Bombing Filterscript (by Mauzen) and i noticed a function here:

pawn Код:
public Float:GetGroundZ(Float:x, Float:y) {
        new rxy[96];
        x = 5.0 * floatround(x / 5.0);  //Replace all 5.0 by the MySQL "map resolution"
        y = 5.0 * floatround(y / 5.0);  //Replace all 5.0 by the MySQL "map resolution"
        format(rxy, 96, "SELECT z FROM hmap WHERE x = %d AND y = %d;", floatround(x), floatround(y));
        samp_mysql_query(rxy);
        samp_mysql_store_result();
        samp_mysql_fetch_row(rxy);
        return floatstr(rxy);
}
this is the only thing in the script using MySQL is their something in 0.3 that could maybe remove the MySQL from this as i dont really want to use MySQL but.... please help thanks.

-©un3o.
Reply


Messages In This Thread
[HELP]Change SQL to NO SQL! - by [NYRP]Mike. - 12.12.2009, 18:33
Re: [HELP]Change SQL to NO SQL! - by Joe Staff - 12.12.2009, 19:47
Re: [HELP]Change SQL to NO SQL! - by [NYRP]Mike. - 12.12.2009, 19:51
Re: [HELP]Change SQL to NO SQL! - by mamorunl - 12.12.2009, 20:21
Re: [HELP]Change SQL to NO SQL! - by Nero_3D - 12.12.2009, 20:46
Re: [HELP]Change SQL to NO SQL! - by [NYRP]Mike. - 12.12.2009, 20:58
Re: [HELP]Change SQL to NO SQL! - by Nero_3D - 12.12.2009, 21:03
Re: [HELP]Change SQL to NO SQL! - by [NYRP]Mike. - 12.12.2009, 21:22
Re: [HELP]Change SQL to NO SQL! - by mamorunl - 13.12.2009, 20:55
Re: [HELP]Change SQL to NO SQL! - by Nero_3D - 13.12.2009, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)