Raised This Month: $ Target: $400
 0% 

efficient remove of weaponbox (SOLVED)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-18-2011 , 09:06   efficient remove of weaponbox (SOLVED)
Reply With Quote #1

I've searched about this and I got the 43 offset, but when I tested it, it always prints 0... and I also tried cs_get_weapon_id(), it also returns 0.

Basically I'm trying to detect weapon_* entities for weaponbox entities and remove them (because I just found out they're not removed when weapon is dropped X_X) so instead of searching through all entities or parsing model, it'll be more efficient to have the CSW_* id and use the already defined weapon_* array...

So is there a CSW_* id offset for weaponbox class, which is it ?
__________________

Last edited by Hunter-Digital; 04-18-2011 at 13:37. Reason: changed title
Hunter-Digital 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 19:55.


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