Ok i have coded some code in player.cpp where there is a piece of code
that displays your team member name health and armor i have tried to
make it so that it also shows monster name health and so on i got it to
work as far as displaying health and armor but the name remains still
in the not working section

newSBarState[ SBAR_ID_TARGETNAME ] = ENTINDEX( pEntity->edict() );

that piece of code doesent seem to work when it comes to monsters i
tried changing it to

newSBarState[ SBAR_ID_TARGETNAME ] = pEntity->pev->targetname;

but all it does is crash when looking at monster

any ideas???



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

Reply via email to