Raised This Month: $ Target: $400
 0% 

Remove a TE_PLAYERATTACHMENT?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 07-12-2007 , 16:48   Remove a TE_PLAYERATTACHMENT?
Reply With Quote #1

I created a TE_PLAYERATTACHMENT, but now I need to have it removed from the player. How can I do this?
hlstriker is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 07-12-2007 , 17:06   Re: Remove a TE_PLAYERATTACHMENT?
Reply With Quote #2

Code:
#define TE_PLAYERATTACHMENT         124      // Attaches a TENT to a player (this is a high-priority tent) // write_byte(TE_PLAYERATTACHMENT) // write_byte(entity index of player) // write_coord(vertical offset) (attachment origin.z = player origin.z + vertical offset) // write_short(model index) // write_short(life * 10 ) #define TE_KILLPLAYERATTACHMENTS    125      // Will expire all TENTS attached to a player. // write_byte(TE_KILLPLAYERATTACHMENTS) // write_byte(entity index of player)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
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 21:34.


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