View Single Post
Author Message
Telepathic Walrus
New Member
Join Date: Oct 2022
Old 10-09-2022 , 11:28   TF2 get demoman secondary
Reply With Quote #1

Hi, I am trying to get the type of shield that a client is using on the server. using GetPlayerWeaponSlot for secondary doesn't seem to work.
Looking online this seems to be because the shield is classed as a wearable. After trying to search for the specific wearable, using FindEntityByClassname(iEntity, "tf_wearable_demoshield"), I still cant seem to get it working. I need to basically decide if the demoman has the tide turner equipped or not. Is there any way to do this.

Thanks
Telepathic Walrus is offline