Raised This Month: $ Target: $400
 0% 

[HELP] Explaining Strip Stock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-13-2017 , 13:30   Re: [HELP] Explaining Strip Stock
Reply With Quote #4

I was thinking about that, but i don't get this

In the first stock the index we retrieve is is the index of the weapon ( CSW_* ) since we compare it with the CSW_* bitsum ( iType )

Then we retrieve it's name ( weapon_* )

Then in the second stock, iWeaponID cannot be the entity index, because we retrieve just one by the name of the weapon, and there are multiple weapons with the same name also the entity index is actually retrieved after with get_entity_by_owner ( ks_get_entity_owner )

In conclusion we retrieve the weapon index in the second stock while we already retrieved it in the first...
__________________

Last edited by Depresie; 02-13-2017 at 13:33.
Depresie 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 21:00.


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