⬅️Exports
Explore our selection of exports that enhance your resource functionality.
BetterFight Evolved offers a comprehensive set of exports for customizing and integrating its features. For enhanced security, it is strongly recommended to rename these exports, which can be done easily as they trigger internal functions, maintaining functionality regardless of the export name. This design allows server administrators to protect against potential exploitation while retaining full access to BFE's powerful customization options.
Recoil System Exports
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%
Temperature System Exports
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'))
Crosshair System Exports
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()
Weapon Damage Exports
CLIENT
Returns the current damage multiplier for a specific weapon.
local damageMultiplier = exports['cis_BetterFightEvolved']:GetWeaponDamage(GetHashKey('WEAPON_PISTOL'))
Triggerbot Exports
CLIENT
Enables or disables the triggerbot feature.
exports['cis_BetterFightEvolved']:ToggleTriggerBot(true) -- Enable triggerbot
exports['cis_BetterFightEvolved']:ToggleTriggerBot(false) -- Disable triggerbot
Remove Whipping Exports
CLIENT
Enables or disables the removal of weapon whipping animations.
exports['cis_BetterFightEvolved']:ToggleRemoveWhipping(true) -- Enable removal
exports['cis_BetterFightEvolved']:ToggleRemoveWhipping(false) -- Disable removal
Headshot Removal
CLIENT
Enables or disables player's headshot removal.
exports['cis_BetterFightEvolved']:ToggleHeadshotRemoval(true) -- Enable prevention
exports['cis_BetterFightEvolved']:ToggleHeadshotRemoval(false) -- Disable prevention
Melee OneShot 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
Last updated
Was this helpful?