Quote:
Originally Posted by psychonic
GetEntProp should be used, else cache is being bypassed and for extra complication of code.
|
To add to this, GetEntProp's size and element values for m_iAmmo would be 4 and iOffset respectively. The 4 doesn't even need to be set as GetEntProp can figure it out on its own.
__________________