new wpnids[32], num; get_user_weapons(id, wpnids, num); new bool:has; for(new i = 0; i < num; i++) { if(wpnids[i] == CSW_HEGRENADE) { has = true; } }