[ReHLDS] Money Rewards Modifier
☄ Description
☄ Requirements
☄ Settings
☄ Examples
☄ Additional information and download links https://raw.githubusercontent.com/Oc...using_this.png https://raw.githubusercontent.com/Oc...plugin_lab.png https://raw.githubusercontent.com/Oc...load_reapi.png |
Re: [ReHLDS] Money Rewards Modifier
I would prefer you to upload the source to this post.
Also, having a plugin that works only in custom game dlls, not in default hlds is weird. In my opinion, since alliedmodders mainly support the official version the plugin has to work in that one firstly. After that, you can add support for other gamedlls. This can be done by using orpheu. If you don't know how to make signatures, use the one provided here: https://forums.alliedmods.net/showpo...postcount=1416 What's left is a matter of doing an PHP Code:
|
Re: [ReHLDS] Money Rewards Modifier
Oh, please no. :) I don't like updating the source every time I make changes to it. I'm sharing my plugins on multiple websites, so I prefer using a permanent link.
Since ReHLDS is officially supported now, I don't think sharing ReHLDS plugins should be a problem. I haven't worked with Orpheu. From the link you gave, I see it doesn't have a "RewardType" argument, so I can't really determine what kind of a reward it is. |
Re: [ReHLDS] Money Rewards Modifier
Well, regamedll devs were nice and added another param to the default function. You can still do it with orpheu with two ways:
1.If two events don't share the same ammount of money, you can check the ammount param and know from what event it was called. But I don't know if that's true, you may get the same ammount for different things. 2.Hook the functions from which AddAccount is called so you can mimic the regamedll implementation. This is harder than the first solution, but will work for sure. Some more work to do, though. I can't think of another solution for now. |
Re: [ReHLDS] Money Rewards Modifier
@HamletEagle - I really don't want to get into orpheu and all of its complicated stuff, especially when I decided to try out rehlds.
@JusTGo - no, I made it like that on purpose. You can add multiple lines in the file for the same type of reward on different admin flags, so that way the reward will be combined if you have all required flags. |
Re: [ReHLDS] Money Rewards Modifier
Quote:
|
Re: [ReHLDS] Money Rewards Modifier
If you want only one reward, you can use multiple flags and separate the users or not use multiple rewards at all. In most cases there will be multiple rewards on multiple flags, so people would want to combine them. For example, you buy the "b" flag which gives you 1000$, then you buy the "c" flag which gives you 500$, so you will probably want to get 1500$ instead of 1000$.
|
Re: [ReHLDS] Money Rewards Modifier
Update v1.1 @ 03.05.2017
|
Re: [ReHLDS] Money Rewards Modifier
Quote:
|
Re: [ReHLDS] Money Rewards Modifier
Some parameters are not working:
RR_BOMB_PLANTED RR_TERRORISTS_WIN RR_CTS_WIN Actually I only got this 2 working, i did not try every one of them since i already found those i said that currently are simply not applying the values RT_ENEMY_KILLED RT_TEAMMATES_KILLED |
All times are GMT -4. The time now is 13:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.