Colored icon for c4
With cs_set_user_defuse, you can select the color of the icon. With c4 not. Is there any other easy way without using StatusIcon and checking for the icon name?
|
Re: Colored icon for c4
You mean with cs_set_user_plant you can't ?
No, there is no easier way. |
Re: Colored icon for c4
PHP Code:
PHP Code:
|
Re: Colored icon for c4
PHP Code:
|
Re: Colored icon for c4
Thanks, works perfectly. Is "cs_set_user_submodel" needed?
|
Re: Colored icon for c4
Yes, to show the bomb on the player.
|
Re: Colored icon for c4
Can't we see it if we just use give_item?
|
Re: Colored icon for c4
I'm not sure if you only see it if nobody else has c4 or if you don't see it at all.
Just set it each time so you are sure it is shown, or set it to 0 if you want to hide bomber ;) |
Re: Colored icon for c4
Quote:
|
Re: Colored icon for c4
Just a curiosity, wouldn't hooking of StatusIcon message be more reliable ? It'll work for cs_set_user_plant() too I belive.
|
| All times are GMT -4. The time now is 20:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.