β¬ οΈ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 stores a custom recoil multiplier for the specified weapon. This multiplier is applied on top of the base recoil configuration when the weapon is fired.
exports['cis_BetterFightEvolved']:SetWeaponRecoil(GetHashKey('WEAPON_PISTOL'), 1.5)CLIENT
This function removes any custom recoil multiplier set for the specified weapon, reverting it to use the default configuration.
exports['cis_BetterFightEvolved']:ResetWeaponRecoil(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
This function removes any global recoil multiplier, setting it back to the default value of 1.00.
exports['cis_BetterFightEvolved']:ResetGeneralRecoil()Temperature System Exports
CLIENT
Returns the current temperature of a specific weapon.
local temp = exports['cis_BetterFightEvolved']:GetWeaponTemperature(GetHashKey('WEAPON_PISTOL'))CLIENT
Sets the temperature of a specific weapon.
exports['cis_BetterFightEvolved']:SetWeaponTemperature(GetHashKey('WEAPON_PISTOL'), 50.0)CLIENT
Resets the temperature of a specific weapon to its default value (0.0).
exports['cis_BetterFightEvolved']:ResetWeaponTemperature(GetHashKey('WEAPON_PISTOL'))CLIENT
Returns the overheat threshold for a specific weapon.
local threshold = exports['cis_BetterFightEvolved']:GetWeaponOverheatThreshold(GetHashKey('WEAPON_PISTOL'))CLIENT
Sets the overheat threshold for a specific weapon.
exports['cis_BetterFightEvolved']:SetWeaponOverheatThreshold(GetHashKey('WEAPON_PISTOL'), 200.0)CLIENT
Checks if a specific weapon is currently overheated.
local isOverheated = exports['cis_BetterFightEvolved']:IsWeaponOverheated(GetHashKey('WEAPON_PISTOL'))CLIENT
Resets the overheat threshold of a specific weapon to its default value.
exports['cis_BetterFightEvolved']:ResetWeaponOverheatThreshold(GetHashKey('WEAPON_PISTOL'))CLIENT
Returns the current smoke level of a specific weapon.
Crosshair System Exports
CLIENT
Enables or disables the crosshair.
CLIENT
Returns all available crosshair presets.
CLIENT
Applies a specific crosshair preset.
CLIENT
Returns the current crosshair settings.
CLIENT
Applies custom crosshair settings.
Weapon Damage Exports
CLIENT
Returns the current damage multiplier for a specific weapon.
CLIENT
Sets a custom damage multiplier for a specific weapon.
CLIENT
Resets the damage multiplier of a specific weapon to its default value.
Triggerbot Exports
CLIENT
Enables or disables the triggerbot feature.
CLIENT
Returns the current status and settings of the triggerbot.
CLIENT
Sets the maximum range for the triggerbot.
CLIENT
Sets the refresh rate for the triggerbot.
Remove Whipping Exports
CLIENT
Enables or disables the removal of weapon whipping animations.
CLIENT
Enables or disables the removal of weapon whipping animations.
Headshot Removal
CLIENT
Enables or disables player's headshot removal.
CLIENT
Returns the current status of headshot removal.
Melee OneShot Prevention
Enables or disables prevention of one-shot melee kills.
CLIENT
Enables or disables prevention of one-shot melee kills.
CLIENT
Returns the current status of melee one-shot prevention.
Last updated
Was this helpful?