Quote:
Originally Posted by Hunter-Digital
Just use MSG_ONE/MSG_ONE_UNRELIABLE and send it to every player from that team, only they would see that attachment since it's a message, not an actual entity attachment.
For entitiy attachments you need to use addtofullpack to pick who can see them.
|
So I tried todo that again, but I failed.
This should only be seeable for those who are in the team of the target (this shows it for everyone on the server):
PHP Code:
message_begin( MSG_ALL, SVC_TEMPENTITY );
write_byte( TE_PLAYERATTACHMENT );
write_byte( target );
write_coord( 45 );
write_short(g_szSprite);
write_short(20);
message_end();
With
PHP Code:
MSG_ONE_UNRELIABLE
it crashes.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.