ďťż
ĹpiÄ
ca KrĂłlewna.
Znajdź:
public add_grenade_bonus(id,attacker_id,weapon) { if (player_b_grenade[attacker_id] > 0 && weapon == CSW_HEGRENADE && player_b_fireshield[id] == 0) //Fireshield check { new roll = random_num(1,player_b_grenade[attacker_id]) if (roll == 1) { set_user_health(id, 0) message_begin( MSG_ALL, gmsgDeathMsg,{0,0,0},0) write_byte(attacker_id) write_byte(id) write_byte(0) write_string("grenade") message_end() set_user_frags(attacker_id, get_user_frags(attacker_id)+1) set_user_frags(id, get_user_frags(id)+1) cs_set_user_money(attacker_id, cs_get_user_money(attacker_id)+150) } } } zamień na public add_grenade_bonus(id,attacker_id,weapon) { if (player_b_grenade[attacker_id] > 0 && weapon == CSW_HEGRENADE && player_b_fireshield[id] == 0) //Fireshield check { new roll = random_num(1,player_b_grenade[attacker_id]) if (roll == 1) { UTIL_Kill(attacker_id,id, "weapon_hegrenade") } } } |