if (user_has_weapon(id,CSW_HEGRENADE)) { client_print(id, print_chat, "You already have one") } else { give_item(id, "weapon_hegrenade") }