Identix
Browse AddonsDownload RLIB
  • Introduction
  • Showcase
  • Changelog
    • 🟧2.6.0.0
    • 🟧2.5.2.0
    • 🟧2.5.1.0
    • 🟧2.5.0.0
  • FAQ
    • ◾Addon Won't Show
    • ◾Change Currencies
    • ◾Change Themes
    • ◾Disabling Names
    • ◾Incompatible Addons
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Database
    • ◾Settings
      • ◾Non-RP Gamemodes
  • ❱ First Use
    • ◾Binds
    • ◾Permissions
      • SAM
      • ServerGuard
      • ULX
      • xAdmin
  • ❱ Developers
    • ◾Hooks
      • 🔗identix_fonts_register
      • 🔗identix_pl_authenticate
      • 🔗identix_pl_name_set
      • 🔗identix_pl_name_set_post
      • 🔗identix_pl_name_rs
      • 🔗identix_pl_name_rs_post
      • 🔗identix_pl_profile_rate
      • 🔗identix_rnet_register
Powered by GitBook
On this page
  1. FAQ

Change Currencies

Changing currencies player's will pay for name changes

PreviousAddon Won't ShowNextChange Themes

Last updated 3 years ago

  • Open lua\modules\identix\cfg\sh_cfg_names.lua

  • Locatecfg.names.cost_type

You may select any of the following currency types:

Value

Desc

rp

DarkRP money

ps1

Pointshop 1

ps2

Pointshop 2 | Regular points

ps2prem

Pointshop 2 | Premium points

Ensure that you change cfg.names.cost so that the system charges the player the correct amount.

// charges player 1 Pointshop 2 Premium credit per name-change

cfg.names =
{
    cost_enabled            = true,
    cost_type               = 'ps2prem',
    cost                    = 1,
}

◾
Example of currency change display for players