Skip to content

Exports

Explore our selection of exports that enhance your resource functionality.

CLIENT

This function returns the current recoil value of the specified weapon.

local recoilData = exports['cis_BetterFightEvolved']:GetWeaponRecoil(GetHashKey('WEAPON_PISTOL'))
CLIENT

This function sets a global recoil multiplier that affects all weapons. It’s applied in addition to weapon-specific settings.

exports['cis_BetterFightEvolved']:MultiplyGeneralRecoil(1.2) -- Increases all recoil by 20%

CLIENT

Returns the current temperature of a specific weapon.

local temp = exports['cis_BetterFightEvolved']:GetWeaponTemperature(GetHashKey('WEAPON_PISTOL'))
CLIENT

Returns the overheat threshold for a specific weapon.

local threshold = exports['cis_BetterFightEvolved']:GetWeaponOverheatThreshold(GetHashKey('WEAPON_PISTOL'))
CLIENT

Returns the current smoke level of a specific weapon.

local smokeLevel = exports['cis_BetterFightEvolved']:GetWeaponSmokeLevel(GetHashKey('WEAPON_PISTOL'))

CLIENT

Enables or disables the crosshair.

exports['cis_BetterFightEvolved']:ToggleCrosshair(true) -- Enable crosshair
exports['cis_BetterFightEvolved']:ToggleCrosshair(false) -- Disable crosshair
CLIENT

Returns the current crosshair settings.

local settings = exports['cis_BetterFightEvolved']:GetCrosshairSettings()

CLIENT

Returns the current damage multiplier for a specific weapon.

local damageMultiplier = exports['cis_BetterFightEvolved']:GetWeaponDamage(GetHashKey('WEAPON_PISTOL'))

CLIENT

Enables or disables the triggerbot feature.

exports['cis_BetterFightEvolved']:ToggleTriggerBot(true) -- Enable triggerbot
exports['cis_BetterFightEvolved']:ToggleTriggerBot(false) -- Disable triggerbot

CLIENT

Enables or disables the removal of weapon whipping animations.

exports['cis_BetterFightEvolved']:ToggleRemoveWhipping(true) -- Enable removal
exports['cis_BetterFightEvolved']:ToggleRemoveWhipping(false) -- Disable removal

CLIENT

Enables or disables player’s headshot removal.

exports['cis_BetterFightEvolved']:ToggleHeadshotRemoval(true) -- Enable prevention
exports['cis_BetterFightEvolved']:ToggleHeadshotRemoval(false) -- Disable prevention

Enables or disables prevention of one-shot melee kills.

CLIENT

Enables or disables prevention of one-shot melee kills.

exports['cis_BetterFightEvolved']:ToggleMeleeOneShotPrevention(true) -- Enable prevention
exports['cis_BetterFightEvolved']:ToggleMeleeOneShotPrevention(false) -- Disable prevention