Raised This Month: $ Target: $400
 0% 

How to get Armoury Entity Weapon ID ( CSW_* ) ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
souvikdas95
Senior Member
Join Date: Mar 2012
Old 05-09-2014 , 09:20   How to get Armoury Entity Weapon ID ( CSW_* ) ?
Reply With Quote #1

How to get Armoury Entity Weapon ID ( CSW_* ) ?

I am trying Ham_touch for armoury_entity but how to resolve the entity into its Weapon ID?

For WeaponBox types, we have fm_get_weaponbox_type () but that doesn't work on Maps where weapons are dropped by default ( no owner ). eg. aa_dima2, $1000$, etc. Only Once we pickup the weapon and drop it back, that this function responds to it on Touch.

( In Simple Words, If I want to touch an already dropped weapons on certain maps, I should be able to get its weapon id even before picking it up )

I was thinking of somehow temporarily faking weaponbox for armoury_entity. But I don't know how to do so.

Thanks!

Last edited by souvikdas95; 05-09-2014 at 09:26.
souvikdas95 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode