View Single Post
WATCH_DOGS UNITED
BANNED
Join Date: Nov 2020
Old 09-06-2021 , 10:19   Re: Round Bonus Remover v1.3 ( Remove Bonus For Win/Lose Rounds)
Reply With Quote #29

Quote:
Originally Posted by HamletEagle View Post
Relevant code here: https://github.com/s1lentq/ReGameDLL...ules.cpp#L1987
You can see that if m_bReceivesNoMoneyNextRound is true then AddAccount will not be called, meaning players will not receive round bonuses.
Also, note that for amxx < 1.9 you need Connor's stock for set_pdata_bool. Also, if I remember correctly, with Connor's stock you need to pass the full offset but the "converted" extra offset(which is 20 / 4 = 5), which is a bit confusing.

Another example code from this forum, from 2014: https://forums.alliedmods.net/showthread.php?t=233836
Thanks. We edited the above post as the code that Shadows Adi passed on is not the same thing as the Round Bonus Remover.

EDIT:

Working correctly with Money Manager.

Last edited by WATCH_DOGS UNITED; 09-06-2021 at 10:45.
WATCH_DOGS UNITED is offline