Home / Marketplace / Gmod Scripts / Gmod NPC Reward Manager / Description

📺 Video & Screens

Gmod NPC Reward Manager

Video of Gmod NPC Reward Manager


Original-ScriptsMaximum image size
🎯 Description


Description of Gmod NPC Reward Manager
🇫🇷 🇬🇧

"No need to modify the Lua files of the Npcs you just installed on your server. No need to pay devs for a rewarding modification job every time you install new Npcs. Buy the script once and do the modifications in real time whenever you want and without any programming skills in Glua or Lua. This Npcs reward management addon is made for this kind of need.

NPC Reward Manager allows to create and apply variables linked to the metatable player with values defined by NPC class, to the player who eliminated him. It is possible to provide a minimum and maximum value to create a random number generation.
For example if you add the variable addMoney, with a minimum value of 5 and a maximum value of 10, when the npc is killed by the player, the player wins between 5 and 10 $. This will work with all variables."

📘 Presentation

Looking for a Gmod addon so that when a user eliminates a NPC, he/she earns a reward through your gamemode related features and addons? Such as XP, or $ for DarkRP money? Or something else? [Gmod NPC REWARD Manager[/b] does this job, add Npc classes, insert variables/functions to apply such as AddMoney (for player:AddMoney() ) or AddXP (for player:AddXP() if you have a levelup system installed) and when they are eliminated your users will earn this value, or a random number between the minimum and maximum value that you will have configured yourself, without coding a single line.

🔎 Description

Gmod NPC REWARD Manager is a Variable insertion system linked to the Player class, table provided by the tableFindMetaTable('player') or debug. getregistry()['"player"], the advantage is that you can install Npcs from the gmod workshop and directly apply the functions to launch when they are eliminated, without reboot, without fiddling with the different addons, and when you have many NPC save time in the configuration, the menu allows to gather everything in a list so you don't scatter in the different Npcs addons.

Two variables (addMoney and addXP) are inserted by default when you add an npc in the list, they will serve as a basic example but are already working, estimating that they will be the most used variables.

📦 Contents

1. A Class Management System from Npcs
2. An npc class insertion system
3. A system of addition of variable
4. A minimum and maximum value addition system
5. Delete in real time a variable or a class of npc from the list.
6. Everything is applied in real time.

📐 Customization options

Customize the interface color if you want to change it

🕹️ The Console Commands

The command to open the management menu : npc_var_manager

💾 Backup and persistence

There is nothing to do, install and reboot, backups are made at each modification.

✔️ Compatibility

Compatible with all imaginable Gamemodes, DarkRP, StarwarsRP, HogwartsRP, Clockwork, Sandbox...
Compatible with my addons made to work with Vrondakis Level system for what concerns the function player:AddXP() add the variable AddXP and that's it.
Compatible with the functions provided by darkrpgmaster (DarkRPG).
Compatible with Nextbot and VJ Base since the version 1.2.

❓ The functions that can be useful on Gmod associated with the Class player for applications:

We are only interested in the Glua server-side functions:
player:addXP( xp ) //Adds XP to the player who kills the npc
player:addLevels( lvl ) //Adds a level to the player who kills the npc
player:addMoney( lvl ) //Adds money to the player who kills the npc
player:AddFrags( number ) //Adds frags to the player who kills the npc
player:SetArmor( number ) //Adds armor to the player who kills the npc
player:SetJumpPower( number ) //Concerns jumping and so on.

The command: npc_var_player_metatable allows to display in the server console all possible variables.

🌂 Tips

Installation :
Unzip the folder nordahl_npc_reward_manager.zip Install the addon in the addons file of your Gmod server,
Path : garrysmod/addons/ nordahl_npc_reward_manager

Tip to avoid leak of your addon: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Icon 16*16 of Gmod NPC Reward Manager Script Information


Gmod NPC Reward Manager

Banner Gmod NPC Reward Manager


📥 Download 1.2

🎫 Open Ticket

⛔️ Sorry, you are not connected

⭐️ Reviews :

Not yet reviewed

🏷️ Sales :


📅 Published :

1 month

🔄 Last update :

🌱 Version :

version 1.2

🛡️ DRM :


🧩 Tags :

#Admin #Gameplay #Management #Allgamemode #DarkRP

🧩 Categories :

Gmodscript - Gmod addons

🌍 Languages :

🇬🇧 🇫🇷 🇩🇪 🇪🇸

🎨 Product author


🎨 Creator

📦 All Creations