Raised This Month: $ Target: $400
 0% 

Replacing RPG Trail.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Drak
Veteran Member
Join Date: Jul 2005
Old 05-01-2007 , 15:28   Re: Replacing RPG Trail.
Reply With Quote #5

I would assume you're saying that if I send my own trail message on the first think, it will override the original?

Code:
public EntityThink(ent) {     new classname[64]     pev(ent,pev_classname,classname,63)         if(equali(classname,"rpg_rocket")) {         message_begin(MSG_BROADCAST,SVC_TEMPENTITY);         write_byte(TE_BEAMFOLLOW)         write_short(ent)         write_short(m_iTrail)         write_byte(40)         write_byte(10)                 write_byte(random_num(50,255))         write_byte(random_num(50,255))         write_byte(random_num(50,255))                 write_byte(255)         message_end()     } }
I'm hooking it threw it's think, obviously. But how can I catch when it's "first think" is called?
(So I can completely hide the original trail, because mine just combines with it and makes it look all werid)
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
 



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 06:43.


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