Quote:
Originally Posted by Cypress
How would I change this without getting any warning?
pawn Code:
// before if ( gangid == cache_get_row_int( i, 0 ) ) { //.. }
//after if ( gangid == cache_get_value_index_int( i, 0 ) ) { //.. }
warning 202: number of arguments does not match definition
Haven't had time to play with it yet just started upgrading my server after a whole year.
|
Seems like maddinat0r haven't yet updated what I've posted. Click on my quote message to redirect to the post containing the usage code.
Quote:
Originally Posted by Lordzy
You made a mistake here. Simply searching and replacing wouldn't help since cache_get_value_index_int stores the retrieved value in it's third argument.
pawn Code:
native cache_get_value_index_int(row_idx, column_idx, &destination); native cache_get_value_index_float(row_idx, column_idx, &Float:destination);
|