Freecode wrote:
If a shield is on the ground its a valid entity and its classname is
"weapon_shield" but when u pick it up the entity is removed. Now but
you still have the shield why isnt it an entity? And Besides checking
users viewmodel is there any way of checking if a player has shield?

It doesn't have to be an entity attached to the player (more entities = more lag), it can just be a different skin or body group on the already existing player. You just need to set a member variable flag somewhere in the CBasePlayer class that says "Hey! I'm carrying the shield".

Have you checked to see if the 'skin' changes when picking up the shield?

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