19.06.2014, 16:28
Too much outdated stuff. This isn't worth the 'R39' mentioning.
- mysql_function_query and OnQueryFinish are outdated. Use mysql_tquery or mysql_pquery instead.
- Using cache_get_row_count is also over cache_get_data since most of the time you don't care about the fields.
- using strval or floatstr is unnecesarry since you have *_int and *_float functions.
- getting fields by name is slower than field index
- cache_get_row_count returns the row count directly, rather than by reference, which makes for easy looping:
pawn Code:for(new i, j = cache_get_row_count(); i < j; i++)

