Actually, I just noticed, you're sending the TE to pev->origin. Thats whats crashing you. Should be only pev.
- Adrian -----Original Message----- From: Adrian Finol [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 12:40 PM To: '[EMAIL PROTECTED]' Subject: RE: [hlcoders] Items.cpp (MyTouch) Of course. BBoxes are vectors. You want something like this: MESSAGE_BEGIN( MSG_PVS, SVC_TEMPENTITY, pev->origin ); WRITE_BYTE( TE_BOX); WRITE_COORD( mins.x ); WRITE_COORD( mins.y ); WRITE_COORD( mins.z ); WRITE_COORD( maxs.x ); WRITE_COORD( maxs.y ); WRITE_COORD( maxs.Z ); WRITE_SHORT( 25 ); WRITE_BYTE( 255 ); WRITE_BYTE( 255 ); WRITE_BYTE( 255 ); MESSAGE_END(); - Adrian -----Original Message----- From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: RE: [hlcoders] Items.cpp (MyTouch) Found it ;) But it crashes... MESSAGE_BEGIN( MSG_PVS, SVC_TEMPENTITY, pev->origin ); WRITE_BYTE( TE_BOX); WRITE_COORD( pev->origin.x ); WRITE_COORD( pev->origin.x); WRITE_SHORT( 25 ); WRITE_BYTE( 255 ); WRITE_BYTE( 255 ); WRITE_BYTE( 255 ); MESSAGE_END(); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yacketta, Ronald Sent: Saturday, January 05, 2002 12:48 PM To: [EMAIL PROTECTED] Subject: RE: [hlcoders] Items.cpp (MyTouch) Lad you know what your talking about.. I sure in the heck don't ;) -Ron -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Adrian Finol Sent: Saturday, January 05, 2002 7:53 AM To: '[EMAIL PROTECTED]' Subject: RE: [hlcoders] Items.cpp (MyTouch) #define TE_BOX 31 // coord, coord, coord boxmins // coord, coord, coord boxmaxs // short life in 0.1 s // 3 bytes r, g, b Use that TempEnt on the server. - Adrian -----Original Message----- From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 6:34 AM To: [EMAIL PROTECTED] Subject: RE: [hlcoders] Items.cpp (MyTouch) Thanxs folks! Another question, I am looking to physically display the FB's UTIL_SetSize() in the game under DEBUG conditions. What could I use to display this? Maybe a triapi? Not sure... -Ron -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Reedbeta Sent: Friday, January 04, 2002 9:11 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Items.cpp (MyTouch) > If you are using UTIL_FindEntityByClassname() for "player".... Or if you're using any other method of locating players. The point is, subtract the grenade's origin from the player's origin and take the length of the resulting vector. __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

