if(random_num(0, 100) <= 10) if (cs_get_user_team(player) == CS_TEAM_T) { give_item(player, "weapon_shield") client_print(player, print_chat, "You were lucky, you got a shield") }