Raised This Month: $ Target: $400
 0% 

trace_line


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2005 , 17:51   trace_line
Reply With Quote #1

some1 tell me if this is the propper way to use trace_line
Code:
new ent=trace_line(0,Start,End,EntsLocation)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2005 , 20:13  
Reply With Quote #2

bumpedy bumpedy BUMP
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-28-2005 , 20:38  
Reply With Quote #3

Code:
new Float:hitcoord[3]; new hitent = trace_line(id, start, end, hitcoord);

The first parameter should be the index of the entity the start position originates from so it doesn't return that entity, but if the vector is just some predefined number use 0.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2005 , 20:43  
Reply With Quote #4

Thanks, I needed that info a lot :-D
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode