How to hook what player buys?
I need to stop players from getting money for kills, round ends and team wins. I can do that with cs_set/get_user_money, but i need to know what player buys. Thanks.
|
Re: How to hook what player buys?
|
Re: How to hook what player buys?
Thanks
|
Re: How to hook what player buys?
If you need to block you need that one :
http://forums.alliedmods.net/showthread.php?t=149380 Also i don't know if the other method is 100% reliable, but it should be. |
Re: How to hook what player buys?
Connor it should be created with your buy forward, shouldn't it ? Just tell me if it is good method to do it with your forward, so I can use it.
|
Re: How to hook what player buys?
I have read only title and not his post, so considering his post, i don't really know what should be used, because i'm not sur of what he exactly try to do.
|
Re: How to hook what player buys?
I create a variable that holds players money. It only descends when he buys something and only ascends in some specific situations. When someone is killed or new round starts, players money is set to the sum in the variable, so he doesn't get money of kills and new rounds.
Connors method works perfectly. |
| All times are GMT -4. The time now is 05:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.