PoisonCode Docs
TebexDiscordYoutube
  • SCRIPTS
    • 💡pc_collections
      • ✨Features
      • đŸ–Ĩī¸Installation & dependencies
      • đŸ› ī¸Exports & events
      • âš™ī¸Open files preview
      • 🔧Tutorials
      • đŸ“ĨUpdates
        • 🤔How to update
        • 🔌Version compatibility
    • 💎pc_organizations
      • ✨Features
      • đŸ–Ĩī¸Installation & dependencies
      • đŸ› ī¸Exports & events
      • âš™ī¸Open files preview
      • 🔧Tutorials
      • đŸ“ĨUpdates
        • 🤔How to update
        • 🔌Version compatibility
    • 💡pc_skills
      • ✨Features
      • đŸ–Ĩī¸Installation & dependencies
      • đŸ› ī¸Exports & events
      • âš™ī¸Open files preview
      • 🔧Tutorials
      • đŸ“ĨUpdates
        • 🤔How to update
    • đŸ“Ļpc_airdrop
      • ✨Features
      • đŸ–Ĩī¸Installation & dependencies
      • âš™ī¸Open files preview
      • 🔧Tutorials
      • đŸ“ĨUpdates
        • 🤔How to update
    • đŸ’Ŧpc_notifications
      • ✨Features
      • đŸ–Ĩī¸Installation & dependencies
      • đŸ•šī¸Usage
Powered by GitBook
On this page
  • Client side
  • Server side

Was this helpful?

  1. SCRIPTS
  2. pc_collections

Exports & events

Necessary exports and events available in this resource

Client side

Opening the collections menu
TriggerEvent('pc_collections:client:openCollections')
exports.pc_collections:openCollections()

Collections menu will open for player that triggers the export/event. There's also /collections command

Server side

Opening the collections menu for given player
TriggerEvent('pc_skills:server:openCollections', player)
exports.pc_collections:openCollections(player)

â€ĸ player - playerId - id of the player you want to open menu for

Collections menu will open for player with given id.

PreviousInstallation & dependenciesNextOpen files preview

Last updated 4 months ago

Was this helpful?

💡
đŸ› ī¸