PivityGmodStore

Earn XP

The addon supports earning experience for buying/selling items for the following addons:

💯 Level System Support

  1. Support for Sublime Levels
  2. Support for Vrondakis Level System
  3. Support for Elite XP System (EXP2)
  4. Support for DarkRP Essentials or Brick's Essentials
  5. Support for GlorifiedLeveling

To do so you will use the XPSell or XPBuy variable for an item. Here is an example of an AK-47 where you receive 2 XP for buying the item and 10 XP for selling it.

CH_NPC_Shops.Items["weapon_ak472"] = {
Name = "AK-47",
Class = "weapon_ak472",
Type = "Weapon",
Price = 12000,
Description = "Officially known as the Avtomat Kalashnikova is a gas-operated assault rifle that is chambered for the 7.62×39mm cartridge.",
Model = "models/weapons/w_rif_ak47.mdl",
Color = Color( 160, 32, 240 ),
CanBuy = true,
CanSell = true,
XPBuy = 2,
XPSell = 10,
UsergroupRestricted = {
["vip"] = true,
["goldmember"] = true,
},
}

Can't find what you're looking for?

Contact support