get weapon max clip size and set cur weap ammo
hi, i've been wondering if it possible to get users current weapon maxclip size? maybe with an offset?
|
Re: get weapon max clip size and set cur weap ammo
http://forums.alliedmods.net/showthread.php?t=82093
Code:
|
Re: get weapon max clip size and set cur weap ammo
this is simular to my function giving hardcoded values depending on provided weaponid. i ment something really getting maxclip from the game, or would it be just a waste?
|
Re: get weapon max clip size and set cur weap ammo
|
Re: get weapon max clip size and set cur weap ammo
m_iDefaultAmmo ?
|
Re: get weapon max clip size and set cur weap ammo
Code:
m_iDefaultAmmo 56 60 +4 int How much ammo you get when you pick up this weapon as placed by a level designer. |
Re: get weapon max clip size and set cur weap ammo
don't we get as much ammo when we pick something as we have maximum per clip?
|
Re: get weapon max clip size and set cur weap ammo
There is no offset found yet, but with orpheu you could get the value easily.
|
| All times are GMT -4. The time now is 07:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.