I am newbie, and this post whas surprising for me. Its the monster
name data available client side? If not, you are breaking
client-server model, your hud data (monster, health,etc..) will show
only in the server, but not at other players. I guess you already know
that

Maybe the hud stuff work server side and send to client, or
something.. brr... I need to learn more about that :D


>> 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
CMD> 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