> it's possibled to show the name of a player, only if it's visibled on the
> screen of the client with the TriAPI ?
> thx

I think you are mixing several questions...

1) Is it possible to draw text using Triangle API?

Yes, but why would you want to?  Just use the standard text font to print the
player's name at an (X,Y) screen position.  Use
gEngfuncs.pTriAPI->WorldToScreen() to convert from world 3D coordinates to
screen (x,y) coordinates.

2) Is it possible to determine on the client if a player is visible or not?

Yes, use tracelines to determine if the origin of one player is visible from
the origin of another player.  If the tracelines get blocked by a world brush
then you know the other player in the PVS isn't visible.

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to