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.
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.
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.
Customize the interface color if you want to change it
The command to open the management menu : npc_var_manager
There is nothing to do, install and reboot, backups are made at each modification.
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.
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.
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?
📥 Download 1.2
🎫 Open Ticket
⭐️ Reviews :
Not yet reviewed
🏷️ Sales :
📅 Published :
🔄 Last update :
🌱 Version :
🛡️ DRM :
🌍 Languages :
🇬🇧 🇫🇷 🇩🇪 🇪🇸