I recently got the script “https://scriptfodder.com/scripts/view/84” and I’m looking for a way to make a custom reward for my Stronghold server.
The custom reward script should be created as follows -
--Custom Reward Function --Developers can also add a custom reward function, this will be called --when a successful reward is being applied to a player. --Example --REWARDS.Settings.CustomRewardFunction = function(ply) ply:SetHealth(500) ply:Give("weapon_rpg") end
The reward I need is a command to give Stronghold money. The rcon command to do so is “gbux_addmoney” any ways I can do this easily with editing a line or two of script?