s1lentq / reapi

AMX Mod X module, using API regamedll & rehlds
GNU General Public License v3.0
160 stars 103 forks source link

GetBonePosition() and GetAttachment() #316

Open HellMan2023 opened 2 months ago

HellMan2023 commented 2 months ago

Hello. I wanted to know from you why these functions work according to the player’s index, or any other entity, but not according to the index of the weapon that the player has? After all, weapon also has a model, and for my purposes it would be very convenient to receive attachment coordinates (for example, for spawn crossbow arrow). It would be very convenient if it was possible to spawn an entity based on the coordinates of the attachment 😔.