Trouble with cs_set_user_defuse
Hi... i have a trouble with this function....
For example i set: PHP Code:
I tried with: PHP Code:
|
Re: Trouble with cs_set_user_defuse
Code:
|
Re: Trouble with cs_set_user_defuse
Or
PHP Code:
|
Re: Trouble with cs_set_user_defuse
Quote:
PHP Code:
PHP Code:
|
Re: Trouble with cs_set_user_defuse
Quote:
If it's made as in standart half life coding, it is proceeded in UpdateClientData when m_fInitHUD == 1, so the icon will be set back to green after you spawn, or when you execute fullupdate command, or when you make a demo. Try this : PHP Code:
|
Re: Trouble with cs_set_user_defuse
Quote:
Isn't that way an "infinite loop"? |
Re: Trouble with cs_set_user_defuse
I think the message sent by cs_set_user_defuse is not hookable.
I used this method because i prefer to not use register_message when it's possible, + this way you need less natives calls. |
Re: Trouble with cs_set_user_defuse
Code:
static cell AMX_NATIVE_CALL cs_set_user_defusekit(AMX *amx, cell *params) // cs_set_user_defusekit(index, defusekit = 1, r = 0, g = 160, b = 0, icon[] = "defuser", flash = 0); = 7 params |
Re: Trouble with cs_set_user_defuse
So the connor way is better?
Thx to much. |
| All times are GMT -4. The time now is 15:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.