Triggers
Open Menu
Use this trigger to open the creator menu for a player:
TriggerClientEvent("bit-creator:open")
This trigger opens the BIT-Creator interface, allowing authorized players to access the in-game editor.
Usage Example
You can integrate this trigger into your own scripts or admin panels:
-- Server-side example
RegisterCommand('opencreator', function(source, args, rawCommand)
-- Add your own permission checks here
TriggerClientEvent("bit-creator:open", source)
end, false)
Make sure to add proper permission checks before allowing players to access the creator menu. The default command is configured in
Config.openin the configuration file.