View Single Post
Author Message
Qtheman
Junior Member
Join Date: Oct 2010
Old 04-24-2018 , 02:32   [TF2] Get weapon max clip size?
Reply With Quote #1

Wow, it's been ages since I was here last... Hi!

So, for context here - I'm trying to set up a little MvM server for my friends and I, and something I thought would be interesting is to use Custom Weapons 3 on it. To that end, I've installed it and gotten it working, and have recreated a few Advanced Weaponiser weapons to test it with.

Having said that, I'm having to do some small rewrites to the attributes plugins to get things more functional with MvM. Everything I've tried so far seems to work fine, but for one of the attributes that I do need to modify, I've hit a bit of a dead end, because I don't know how to retrieve a weapon's maximum clip size.

I know I can get the current clip with m_iClip1, but is there a similar property for the max clip size? If not, what would be the best way to go about getting it? Thanks.

Last edited by Qtheman; 04-24-2018 at 21:36.
Qtheman is offline