Trace line
How can i do that if some one get between origin 1 and origin 2 loses health
|
Re: Trace line
It's in your title.
|
Re: Trace line
I know i just want to know how to do it
|
Re: Trace line
Check TR_flFraction, if < 1.0, it means someone has passed your line.
|
Re: Trace line
Trace line from origin1 to origin2.
If the fraction is < 1.0, then you hit something. If you hit something, check the pHit result from the trace to see if it is a player. |
Re: Trace line
I'm real noob on this thing i read how to do all this but i just can get it in my head,The only way for me to understand it if you guys give me the code,that I could put it in my cheatsheet.txt document :D
|
Re: Trace line
Do i need to register think to ceck if some one is between those 2 origins?
|
Re: Trace line
https://forums.alliedmods.net/showthread.php?t=66076
I already told you everything you need to do. That thread will help you understand how to work with trace lines. |
Re: Trace line
I read this :?
|
Re: Trace line
Sorry for your spended time on me I was rilly dum that time because I was just a beginner in pawn language coding
|
| All times are GMT -4. The time now is 03:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.