how to stop grenades damage
PHP Code:
Quote:
|
Re: how to stop grenades damage
PHP Code:
victim, useless, attacker Else, your is_user_connected check fails and that's why damagebits check (and the whole function) doesn't work. |
Re: how to stop grenades damage
Quote:
PHP Code:
|
Re: how to stop grenades damage
I mean to reorder the parameters. You have changed the position of attacker and useless.
But actually, is_user_connected(victim) isn't needed - the victim is always a connected player. |
Re: how to stop grenades damage
Code:
-> Code:
I think it's better. |
Re: how to stop grenades damage
No , is_user_connected is fine .
|
| All times are GMT -4. The time now is 15:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.