Usage
This section explains how to use the ‘Intense Smoke Grenade’ script once it is installed on your FiveM server.
Starting the script
Section titled “Starting the script”- The script starts automatically when the server starts, as long as you added it to the
server.cfgfile with the line:ensure intense_smoke_grenade. - No manual restart is needed after installation, unless you change the script configuration.
Default keys
Section titled “Default keys”| Action | Key | Command |
|---|---|---|
| Place a bomb | K | /smokebomb_place |
| Detonate the bombs | G | /smokebomb_detonate |
Each player can rebind these keys in Settings > Key Bindings > FiveM.
Available commands
Section titled “Available commands”/givesmokebomb [id] [amount]: gives bombs to a player (internal stock only, restricted to admins via the ACEcommand.givesmokebomb).
In-game interactions
Section titled “In-game interactions”- Place: use the item from your inventory (or the place key). The character crouches and drops the bomb on the ground in front of them. The bomb is only removed from the inventory if the server validates the placement.
- Repeat: you can place several bombs, up to the limit set by
Config.MaxBombsPerPlayer. - Detonate: press the detonate key. Your character uses a remote control and all your bombs within the radius (
Config.DetonateRadius) release their smoke one after another. - End of the effect: after
Config.SmokeDurationseconds, the smoke clears and the bombs are removed.
Bombs that are placed but never detonated are automatically removed after Config.AutoDeleteTime seconds, and when the player disconnects.