πŸ› οΈEvents, exports & commands

A list of events, exports and commands used by this resource with examples

Client side

Events

chevron-rightOpening the collections menuhashtag
TriggerEvent('pc_collections:client:openCollections')
circle-info

Opens the collection menu for the player that triggered the event.

Exports

chevron-rightOpening the collections menuhashtag
exports.pc_collections:openCollections()
circle-info

Opens the collection menu for the player that triggered the export.

Commands

chevron-rightOpening the collections menuhashtag
/collections
circle-info

Opens the collection menu for the player that triggered the command.

circle-exclamation

Server side

Events

chevron-rightOpening the collections menuhashtag
  • target - player server id - id of the player you want to open menu for

circle-info

Opens the menu for the player with specified id

Exports

chevron-rightOpening the collections menuhashtag
  • target - player server id - id of the player you want to open menu for

circle-info

Opens the menu for the player with specified id

Last updated