♾️
InfinityPulse
🎮 Discord📺 Youtube🛒 Tebex
  • Introduction
  • RedM
    • 🌿Herbalist System
      • Installation
      • Commands
      • Herbalist Skills
    • ⭕Company Blips
      • Installation
      • Config
    • ⚔️Bandits Ambush
      • Installation
      • Config
    • 📖XP System
      • Installation
      • Types
      • Exports
      • UI Additions
  • 💬Alert Dialogue
    • Installation
    • Exort
  • FiveM
    • 🌟VIP System
      • Installation
      • Exports
    • 💱Money Laundering
      • Configuration
      • Server/Framework support
  • DATA TABLE
    • Export
  • 📦Crate Drop
    • Installation
    • Configuration
  • 💬3D Text UI
    • Installation
    • Configuration
    • Exports
  • 📺City Hall
    • Installation
    • Configuration
Powered by GitBook
On this page
  • Usable Item:
  • RSG
  • VORP
Edit on GitHub
  1. RedM
  2. XP System

Installation

Change the framework in your sconfig.lua 'vorp'/'rsg'/'custom'


Import SQL:

CREATE TABLE IF NOT EXISTS `xpsystem` (
  `name` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL,
  `xp` int(11) NOT NULL DEFAULT 0,
  `level` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`name`,`type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;

INSERT IGNORE INTO `xpsystem` (`name`, `type`, `xp`, `level`) VALUES
	('init', 'initialize', 0, 1);


Usable Item:

RSG

You will also need to add the XP book in your RSG-Core/shared/items.lua file:

xpbook = { 
    name = 'xpbook', 
    label = 'Experience Book', 
    weight = 100, 
    type = 'item',  
    image = 'book.png', 
    unique = true,  
    useable = true, 
    shouldClose = true, 
    description = 'An Experience log book'
}

VORP

You can find this in vorpitem.sql

INSERT INTO items
(`item`, `label`, `limit`, `can_remove`, `type`, `usable`, `groupId`, `metadata`, `desc`, `degradation`, `weight`)
VALUES 
('xpbook', 'Experience Book', '10', '1', 'item_standard', '1', '1', '{}', 'A jack of all trades is a master of none, but often times better than a master of one..', '0', '0.25');

PreviousXP SystemNextTypes

Last updated 1 month ago

📖