Retriving shield hit
Hi!
Im having an hard time founding a way of retriving if an player as been hit in the shield |
Re: Retriving shield hit
Try this:
PHP Code:
|
Re: Retriving shield hit
I get this from debug
L 02/07/2009 - 23:59:35: Start of error session. L 02/07/2009 - 23:59:35: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090207.log") L 02/07/2009 - 23:59:35: [FAKEMETA] Invalid entity L 02/07/2009 - 23:59:35: [AMXX] Displaying debug trace (plugin "teste.amxx") L 02/07/2009 - 23:59:35: [AMXX] Run time error 10: native error (native "pev") L 02/07/2009 - 23:59:35: [AMXX] [0] textV1T8F9.sma::Forward_TraceLine (line 18 L 02/07/2009 - 23:59:35: [FAKEMETA] Invalid entity and I get this when I compile, but it still compils good /home/groups/amxmodx/tmp3/textInEZG5.sma(26) : warning 204: symbol is assigned a value that is never used: "pOwn" |
Re: Retriving shield hit
PHP Code:
|
Re: Retriving shield hit
Tested and works.
PHP Code:
http://forums.alliedmods.net/showthread.php?t=51181 |
Re: Retriving shield hit
working good ty :D
|
Re: Retriving shield hit
Would Ham_TraceAttack, "weapon_shield" work ?
|
Re: Retriving shield hit
No, nor "player".
But 'IsHittingShield()' is called at the top of this forward, when you look into the game binary. |
Re: Retriving shield hit
his code works great but i failed to make a way that gives me the location of the hit, so I can add an effect
|
Re: Retriving shield hit
Quote:
Code:
new Float:origin[3]; |
| All times are GMT -4. The time now is 17:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.