new grenades = get_pdata_int( id, 15 ); if( grenades > 0 ) { // We have secondary grenades set_pdata_int( id, 15, 0 ); }