Sth about the money color.
One day, when I was playing CS.
I entered an internet server, after the time when i buy a gun. I saw the money color was always by default yellow, even when I buy sth. Have anyone got some ideas from this, please help for me. Thank for who are helped me. |
Re: Sth about the money color.
Register the money message and always set last param (trackchange) to 0.
|
Re: Sth about the money color.
Can you write the code for me?
I am an amxx novice... |
Re: Sth about the money color.
1 Attachment(s)
Okay
|
Re: Sth about the money color.
I think you had get wrong meaning.
When buy a gun your money will turn to red color, this is CS default setting and I want the money always show by default color.Do not need change for bug etc. But I like this plugins feature.When I tested it, I have got some problems. Sth about the reward amxx, the plugin will showed like normal how much money you received. |
Re: Sth about the money color.
Quote:
Lets say.. you have 16000$, and an M4A1 costs 2000$. -2000$ <-- The hud message (Red) 14000$ <-- Your cash after you bought it and if you gain money, it will do shit like.. +200$ <-- The hud message (Green) 14200$ <-- Your cash after you gained the money |
Re: Sth about the money color.
I know what you are saying, but I dont know how to write the code...
|
Re: Sth about the money color.
The plugin make money color to always be default color (yellow/brown).
For amxx plugins, you have to edit all .sma and search for cs_set_user_money and set last param (3rd one) to 0, or add it if only 2 args are passed in the native. Then recompile the plugin. |
Re: Sth about the money color.
https://forums.alliedmods.net/showthread.php?t=80629
I am using this amxx. I search for the cs_set_user_money, and it's not about bonus $$. Just if a player money > XXXX change his money to XXXX. What should I do next... Thank you! |
| All times are GMT -4. The time now is 00:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.