|
Necavi
|
 |
« on: September 23, 2010, 06:18:04 PM » |
|
Does anyone know of a way to find out what a weapon's default max ammunition is?
|
|
|
|
|
Logged
|
|
|
|
Glider⠠⠵
Global Moderator
Sr. Member
    
Posts: 413
⠠⠵
|
 |
« Reply #1 on: September 24, 2010, 11:19:32 AM » |
|
You can define an array with max ammo values beforehand and get the weapon id/name and then get it from the array, but you can't do it dynamically (at least not in TF2)
|
|
|
|
|
Logged
|
|
|
|
|
Necavi
|
 |
« Reply #2 on: September 24, 2010, 02:08:14 PM » |
|
Well, this would be for CS:S, but damn, I was hoping I wouldn't have to use an array for this, I'll look into it a bit more though.
|
|
|
|
|
Logged
|
|
|
|
|
Necavi
|
 |
« Reply #3 on: September 26, 2010, 01:04:12 AM » |
|
Yeah, it looks like I'm going to use an array, there has been no reply on the sourcemod forums regarding this either.
|
|
|
|
|
Logged
|
|
|
|
|