Because when you pick up an entity based in CBasePlayerWeapon, the
entity is removed and a free slot in the 'static ItemInfo
ItemInfoArray[MAX_WEAPONS ]' is filled.

You can check it by making a for statement and checking all the
ItemInfoArray's pszName variable.


On Sat, 25 Sep 2004 17:02:01 -0400, Freecode <[EMAIL PROTECTED]> 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?
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

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

Reply via email to