AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Remove a TE_PLAYERATTACHMENT? (https://forums.alliedmods.net/showthread.php?t=57835)

hlstriker 07-12-2007 16:48

Remove a TE_PLAYERATTACHMENT?
 
I created a TE_PLAYERATTACHMENT, but now I need to have it removed from the player. How can I do this?

XxAvalanchexX 07-12-2007 17:06

Re: Remove a TE_PLAYERATTACHMENT?
 
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)


All times are GMT -4. The time now is 21:34.

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