if(random(get_pcvar_num(p_Amount_Gamble)) == 1) { give_item(id, "weapon_glock"); jb_print(id, "Congratulations, you just won a !tglock!n!"); } else { slay_lightning(id); jb_print(id, "Wow... bad luck"); }