Oh my god even this isn't working...
Code:
public plugin_natives()
{
register_native( "hrp_query", "h_query", 1);
register_library( "HRPSave" );
}
// MySQL Query ( Use hrp_select for selecting data from MySQL )
public h_query( query[], Result:result)
{
param_convert(1);
result = dbi_query( g_db, query )
new ret;
if( result == RESULT_FAILED ) ret = -1;
if( result == RESULT_NONE )ret = 0;
if( result == RESULT_OK) ret = 1;
return ret;
}
__________________