Ham_TakeDamage, CsTeams tag mismatch
Hey, guys! I just want to ask why is this tag mismatch caused in the code. It's purpose is to block FF for Terrorist and allow it for CTs. Thanks!
PHP Code:
|
Re: Ham_TakeDamage, CsTeams tag mismatch
Quote:
Code:
#include <amxmodx> |
Re: Ham_TakeDamage, CsTeams tag mismatch
Your problem is right here:
PHP Code:
|
Re: Ham_TakeDamage, CsTeams tag mismatch
There's no need to create new var on damage forward. Also may lag/overflow..
Just PHP Code:
|
Re: Ham_TakeDamage, CsTeams tag mismatch
Make sure the attacker is a connected player before doing team check.
|
Re: Ham_TakeDamage, CsTeams tag mismatch
Quote:
Would be better if someone explains "better" what's a lag issue and a overflow problem, since many guys don't know even when they are triggered. |
Re: Ham_TakeDamage, CsTeams tag mismatch
Quote:
Also not using cstrike offers no tangible benefit unless he wants to make this plugin mod-independent. |
Re: Ham_TakeDamage, CsTeams tag mismatch
Quote:
|
Re: Ham_TakeDamage, CsTeams tag mismatch
Quote:
|
Re: Ham_TakeDamage, CsTeams tag mismatch
I've actually heard that the deafult native (*get_user_team()) has some bugs and doesn't always provide the right team (like not detecting changes, etc..). That's why I prefer using the cs_ native.
|
| All times are GMT -4. The time now is 12:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.