Earning Money CS
I've been trying to find out a way to stop earning all cash in CS. Such as winning a round or killing an enemy. Does anyone know of such a way? I was wondering because for my new plugin i want to have my own money giving feature, not the games.
Hopefully someone can help. Thanks!! |
Re: Earning Money CS
you could save their money in a global, then catch when the message is sent (register_event("Money", "money_function", "b") ) then set it back to the value in the global
|
Re: Earning Money CS
Alright, Ill do that... I was looking for somehting simpler but i havent been able to find anything. Oh well, not too hard. Thanks.
|
Re: Earning Money CS
There is a downside though. If another plugin/module will emulate the message then you'll obviously break it's custom functionality. In fact you can't know for sure what is changed the money amount, the game itself or a custom addon.
|
Re: Earning Money CS
that's why you make your own custom natives :O
|
Re: Earning Money CS
:O lol alright thanks. Do you think i could find out the exact money rewards depending if you win/lose/kill another person and such and deduct the same amount?
|
Re: Earning Money CS
You don't have to withdraw ammount of money every time.
Store users money in global var and set it everytime the money is changed. This will never give the user more money than 800 untill you give them some money. You'll have to use cshack if you wanna go lower than 800. Code:
|
Re: Earning Money CS
Why can't you go below $800?
|
Re: Earning Money CS
You can't set users money lower than 800 without cshack...
You could show it but you cant have lower? I could possibly be wrong. EDIT: Omygawg. I thought 800 was the lowest you could have. |
Re: Earning Money CS
Thanks a lot, will try this now.
|
| All times are GMT -4. The time now is 22:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.