Watch the Showcase video here
🔹 Is the Script Standalone?
✅ Yes, for FiveM – It does not rely on other frameworks like ESX or QBCore.
❌ No, because it requires WarMenu – Servers must have WarMenu for the menu to work.
Vehicle Spawn Menu with Discord Permissions
This resource allows players to spawn vehicles using WarMenu. The menu is fully configurable via the shared config.lua file, including vehicle details, Discord role checks, key mapping, and category display names. The script also cleans up previously spawned vehicles and shows in-game notifications when a vehicle is spawned (or if an error occurs).
Note: This resource uses the Discord HTTP API for role verification. Make sure your bot token is valid and the bot is added to your guild.
Features
Configurable Menu:
Automatically displays all categories defined in config.lua.
Uses a mapping for friendly display names.
Vehicle Spawning:
Spawns vehicles based on the model specified in config.lua.
Automatically deletes the previously spawned vehicle before spawning a new one.
Discord Role Verification:
Checks a player's Discord roles against the required roles defined for each vehicle.
Uses the Discord API to verify permissions.
Notifications:
Shows in-game pop-up notifications (green for success, red for errors).
Debug Logging:
(Optional) Debug messages can be enabled/disabled via a flag in the server script.
Easy to Extend:
Add extra categories, vehicles, and role IDs directly in the config.lua following the provided structure.