GetCurrentWeapon
The GetCurrentWeapon export allows you to check the weapon currently in your hands. This export provides useful information about the weapon, such as its durability or other attributes, and can be integrated into custom scripts.
How to Use
To retrieve the current weapon, use the following code:
Here’s an example of using this export to check the durability of a weapon:
This command retrieves the weapon currently in use, prints its information, and displays its durability. It’s a simple and flexible way to interact with weapon data during gameplay.
Last updated