Quote:
Originally Posted by P34nut
change this:
PHP Code:
set_pev(sprite, pev_movetype, MOVETYPE_FLY);
to this:
PHP Code:
set_pev(sprite, pev_movetype, MOVETYPE_FOLLOW);
|
Woah, didn't even notice I had it on fly. That's what I get for copy and pasting

Weird thing is that it was working with fly.
Quote:
Originally Posted by Wilson [29th ID]
If you're attaching it to a player,
#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 )
|
That's what I tried first on the non-player entity. It just spit errors out at me in the console
Anyhow, it's working perfectly now. Thanks for helping