Commands & Exports

This section lists all available commands, exports, and events included in the script. You’ll find client-side, server-side, and shared functions designed to help developers integrate, extend, or interact with the system easily within their own scripts or frameworks.


Client Exports

This section provides all available client exports for the script. These functions allow you to interact directly with the system from the client side, enabling custom features, UI interactions, and integrations with other resources. Each export includes a short description and usage example for easy implementation.

LaunchAirdropAtPlayer

The LaunchAirdropAtPlayer export allows you to spawn an airdrop directly at the player's location. This is useful for creating immersive gameplay events or rewarding players in specific scenarios.


How to Use

To launch an airdrop at the player's location, use the following code:

if exports['qs-gangwars']:LaunchAirdropAtPlayer() then
    print("Airdrop has been launched at the player's location")
end

This will trigger an airdrop at the current position of the player. You can use this functionality to add custom events, such as loot rewards, in-game objectives, or any scenario that requires dynamic item drops near players.