Raised This Month: $ Target: $400
 0% 

traceline_set_edict


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 10-26-2006 , 20:43   traceline_set_edict
Reply With Quote #1

What would be the equivalent of traceline_set_edict in AMXX?

Sample:
Code:
    if(is_user_alive(g_target[entity][0]))     {       traceline_set_edict(TR_ENT_pHit, g_target[entity][0])       traceline_set_int(TR_INT_iHitgroup, g_target[entity][1])       return PLUGIN_HANDLED     }
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
VEN
Veteran Member
Join Date: Jan 2005
Old 10-27-2006 , 06:32   Re: traceline_set_edict
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?...t_tr&go=search
VEN is offline
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 10-27-2006 , 09:34   Re: traceline_set_edict
Reply With Quote #3

Hm... thanks for that one, but now Im having problems with this second line:

Code:
traceline_set_int(TR_INT_iHitgroup, g_target[entity][1])

Any ideas?
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-27-2006 , 16:01   Re: traceline_set_edict
Reply With Quote #4

Code:
set_tr(TR_iHitgroup, g_target[entity][1])
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 10-27-2006 , 20:39   Re: traceline_set_edict
Reply With Quote #5

And Avalanche saves the day...

Thank you
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
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 04:53.


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