View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-30-2017 , 10:45   Re: [ReHLDS] Money Rewards Modifier
Reply With Quote #4

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.
__________________

Last edited by HamletEagle; 04-30-2017 at 10:46.
HamletEagle is offline