Skip to main content

Profile & Slots

Profile photo system with camera filters and purchasable character slots

This section

Profile & Slots

Take profile photos with camera filters and purchase additional character slots via Tebex transaction codes.

Profile Photo System​

  1. Click the camera icon on the character selection screen
  2. Choose from 12 built-in camera filters (GTA animpostfx effects)
  3. Adjust zoom level with zoom controls
  4. Click to capture — the screenshot is saved as your character's profile picture

Requires screenshot-basic resource to be running.

Camera Filters​

12 post-processing filters available (using GTA animpostfx):

  • Each filter has a preview image in the UI
  • Filters can be applied and removed in real-time before taking the photo

Slot System​

OptionDefaultDescription
Config.Slots3Default character slots per player
Config.SlotButtontrueShow the buy slot button

Purchasing Additional Slots​

  1. Purchase a character slot product from your Tebex store
  2. In-game, click Buy Slot and enter the Tebex transaction ID
  3. The server validates the transaction against the multichar_purchases table
  4. On success, the slot is added to the player's account

Background Music​

FeatureDescription
PlayerYouTube/SoundCloud music via react-player
PersistenceURL and volume saved per-player in database
ControlsPlay, volume slider, reset