Code: Select all
register_option(pc_frc_enable, "frc_enable", "1") // Enable the plugin, this will stop the plugin sending the news but not the forwards!!!
register_option(pc_frc_chat, "frc_chat", "1") // The message you have flashed/been flashed by
register_option(pc_frc_sound, "frc_sound", "1") // the sound that is sent to the flasher
register_option(pc_frc_admin, "frc_adminchat", "1") // the admin messages
register_option(pc_frc_block, "frc_block_team_flash", "0") // block the moment when you flash your teammates
register_option(pc_frc_selfb, "frc_block_self_flash", "0") // block the moment when you flash yourself
register_option(pc_frc_blocka, "frc_block_team_all_flash", "0") // block all players that are flashed if a teammate is flashed
// The punish system cvars
register_option(pc_frc_punish, "frc_flasher_punish", "1") // punish the player that flashed too much
register_option(pc_frc_count, "frc_flasher_counter", "1") // 0 -> count only the full flashes 1 -> count all the flashes
register_option(pc_frc_limit, "frc_flasher_mistake_allow", "3", OPTION_CELL) // the times that a player is allowed to flash his teammates before being punished
register_option(pc_frc_warn, "frc_flasher_warn", "0") // warn the player
register_option(pc_frc_mode, "frc_flasher_punish_mode", "2", OPTION_CELL) // punish mode: 0 -> map end, 1 -> rounds, 2 -> time
register_option(pc_frc_type, "frc_flasher_punish_type", "0", OPTION_CELL) // punish type: 0 -> block throw, 1 -> kill when flash, 2 -> flash himself when flash
register_option(pc_frc_nr_ctr, "frc_flasher_punish_control", "2", OPTION_FLOAT) // punish mode control controls how many round/minutes the player will have problems (doesn't work with punish mode 0)
// Flash color cvars
register_option(pc_frc_mcolor, "frc_color_mode", "2", OPTION_CELL) // 0 -> off, 1 -> specified color, 2 -> random color chose(for all players), 3 -> random color for every player
register_option(pc_frc_rcolor, "frc_red_color", "100") // the red color cvar
register_option(pc_frc_gcolor, "frc_green_color", "100") // the green color cvar
register_option(pc_frc_bcolor, "frc_blue_color", "255") // the blue color cvar