Traceline help
Hello dear members, i finded this tutorial on alliedmods, i wanna check when i hit TE_BEAMPOINTS a player take damage
Here is the code: Code:
#include <amxmodx>( i dont have no idea how to use it ) |
Re: Traceline help
It's a tutorial with example, so read it and don't create thread right away. You obviously did not read it, nor tried things. If I'm wrong, you should post what you tried.
|
Re: Traceline help
I dont try nothing, i read this tutorial 10 times and sincely i dont understand absolute nothing, how can help this tutorial my :(
Sorry but im realy confuse i need you to explain me detalied please |
Re: Traceline help
what you want...
damage player when hit the 'sprite'?! |
Re: Traceline help
Quote:
|
Re: Traceline help
well techincally, i don't think that 'sprite' takes damage... (I don't think we can hook Ham_TakeDamage with the entity coz it never takes damage. As far as i know.)
Good coders like ConnorMcLeod or Arkshine may help :D |
Re: Traceline help
Quote:
Quote:
Quote:
|
Re: Traceline help
You can use the code from Nades Mode
Quote:
|
Re: Traceline help
Quote:
|
Re: Traceline help
No, you cannot detect TE_BEAMPOINTS. But if you want to detect it, you may try to make an entity and set the sprites model, set the the solidity to SOLID_BBOX and you can detect it in TraceAttack/TakeDamage.
|
| All times are GMT -4. The time now is 18:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.