J.Dre
Unity Games
Hello again!
Today I am sharing my latest frag reward script. There are other scripts released on this forum, even ones that may work, but I added some extra features.
This script allows you to enable or disable, trophies and heart's as rewards. Hopefully you enjoy the convenience within this script.
Tested on The Forgotten Server 0.3.7 (aka. 0.4)
Level: 8 - 99
Level: 100 - 199
Level: 200 - ???
Or the optional Heart!
I've changed it so the trophy is added to the backpack instead. These images are inaccurate on that part. ^_^
Update Log:
"Special thanks to Zatjin for assistance with testing."
J.Dre
Today I am sharing my latest frag reward script. There are other scripts released on this forum, even ones that may work, but I added some extra features.
This script allows you to enable or disable, trophies and heart's as rewards. Hopefully you enjoy the convenience within this script.
Tested on The Forgotten Server 0.3.7 (aka. 0.4)
Level: 8 - 99
Level: 100 - 199
Level: 200 - ???
Or the optional Heart!
I've changed it so the trophy is added to the backpack instead. These images are inaccurate on that part. ^_^
Update Log:
- [v1.0] - Release
Added a user-friendly config.
Added the ability to switch between frag rewards.
- [v1.1] - Fix / Repair
Fixed a small typo with the Heart's name.
Added a missing "=" on line 19.
- [v1.2] - Upgrade / Fix / Repair
Fixed the problem with it making multiple rewards.
Added an option in the config to choose how many people get rewarded.
- [v1.0] - Release
data/creaturescripts/scripts/login.lua
data/creaturescripts/creaturescripts.xml
data/creaturescripts/scripts/frag_reward.lua
Frag Reward.lua - PasteBin.com
Code:
registerCreatureEvent(cid, "Frag Reward")
data/creaturescripts/creaturescripts.xml
Code:
<event type="death" name="Frag Reward" event="script" value="frag_reward.lua"/>
data/creaturescripts/scripts/frag_reward.lua
Frag Reward.lua - PasteBin.com
"Special thanks to Zatjin for assistance with testing."
J.Dre
Last edited: