public static void InstaKill(Entity player) { if (Function.Call <int>("getdvarint", "bonus_insta_kill") == 1) { return; } PowerUpHudTimer(Hud.BonusDropHud("cardicon_skull_black", -35)); Function.Call("setdvar", "bonus_insta_kill", 1); player.AfterDelay(30000, e => { Function.Call("setdvar", "bonus_insta_kill", 0); }); }
public static void FireSale(Entity player) { if (Function.Call <int>("getdvarint", "bonus_fire_sale") == 1) { return; } PowerUpHudTimer(Hud.BonusDropHud("cardicon_joystick", 70)); Function.Call("setdvar", "bonus_fire_sale", 1); player.AfterDelay(30000, e => { Function.Call("setdvar", "bonus_fire_sale", 0); }); }
public static void DoublePoints(Entity player) { if (Function.Call <int>("getdvarint", "bonus_double_points") == 1) { return; } PowerUpHudTimer(Hud.BonusDropHud("cardicon_spetsnaz", 0)); Function.Call("setdvar", "bonus_double_points", 1); player.AfterDelay(30000, e => { Function.Call("setdvar", "bonus_double_points", 0); }); }